?
replyToGmailEmail
Reply to an existing email in Gmail. The reply is threaded under the original message.
mindstudio.replyToGmailEmail({ messageId, message, messageType }) → Result
Replies to an existing Gmail message, threaded under the original so it stays in the same conversation. Get the message id from getGmailEmail or a search first.
Parameters
messageId
string
RequiredGmail message ID to reply to
message
string
RequiredReply body content
messageType
string
RequiredBody format: "plain", "html", or "markdown"
plainhtmlmarkdown
connectionId
string
Google OAuth connection ID
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.replyToGmailEmail({ messageId: /* ... */, message: /* ... */, messageType: /* ... */ });