?
listGmailDrafts
List drafts in the connected Gmail account.
mindstudio.listGmailDrafts({ exportType }) → Result
List drafts in the connected Gmail account.
Parameters
connectionId
string
Google OAuth connection ID
limit
string
Max drafts to return (default: 10, max: 50)
exportType
string
RequiredFormat for the variable output: "json" or "text"
jsontext
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.listGmailDrafts({ exportType: /* ... */ });