get_draft
Retrieves a draft by ID, letting AI agents inspect its subject, recipients, body, attachments, or raw MIME in a chosen format before editing or sending.
Instructions
Retrieves a draft by id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | ||
| messageFormat | No | MINIMAL: subject, snippet, sender, recipients, date, labels. METADATA_ONLY: no subject/snippet/body. PLAIN_TEXT (recommended): MINIMAL + plaintextBody + attachments (HTML converted to text if needed). FULL_CONTENT (default): also htmlBody. RAW: raw MIME. |