update_draft
Replace the entire content of an existing email draft, including recipients, subject, body, and attachments, to update it without creating a new draft.
Instructions
Replace the content of an existing draft (full replacement, not a patch).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Recipients, each "Name <a@x.com>" or "a@x.com" | |
| to | No | Recipients, each "Name <a@x.com>" or "a@x.com" | |
| bcc | No | Recipients, each "Name <a@x.com>" or "a@x.com" | |
| draftId | Yes | ||
| subject | No | Defaults to "Re: ..." when replying | |
| bodyHtml | No | HTML body | |
| bodyText | No | Plain-text body | |
| replyAll | No | With replyToMessageId: reply to all original recipients | |
| accountId | No | Account to operate on. Optional when exactly one account is connected. | |
| attachments | No | ||
| replyToMessageId | No | Message being replied to; threads correctly and computes recipients if "to" is omitted |