Update a saved draft
mail_draft_updateUpdates a saved email draft only when its reviewed revision is still current, allowing partial edits to recipients, subject, body, and attachments while preventing stale or duplicate changes.
Instructions
Update the saved draft only if its reviewed revision is still current.
Omitted fields stay unchanged; an empty recipient list clears that field.
Body replaces the complete body, including any signature, in its existing
format. Sender identity cannot change. If the user's composer is open,
return DRAFT_BUSY and leave the window for the user to save or close.
Reuse request_key to retrieve an operation without applying it twice.
changes accepts subject, body, to, cc, bcc, add_attachments and
remove_attachment_refs. Separate fields are aliases; use one form only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| bcc | No | ||
| body | No | ||
| changes | No | ||
| subject | No | ||
| draft_ref | Yes | ||
| request_key | Yes | ||
| add_attachments | No | ||
| expected_revision | Yes | ||
| remove_attachment_refs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||