getGmailEmail
Retrieve a specific email from Gmail by message ID.
mindstudio.getGmailEmail({ messageId }) → Result
Retrieves one Gmail message by its id from the connected account, including body and headers — the read behind replying to or acting on a specific email.
Parameters
messageId
string
RequiredGmail message ID to retrieve
connectionId
string
Google OAuth connection ID
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.getGmailEmail({ messageId: /* ... */ });