update_draft
Replace an existing email draft with updated recipients, subject, and body, using safe HTML styling that preserves formatting without external resources.
Instructions
Replace a draft; authored HTML permits normal mail layout CSS but rejects remote resources, hidden content, and message-box escapes. Empty paragraphs are preserved. No send capability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| body | Yes | ||
| subject | Yes | ||
| draft_id | Yes | ||
| html_body | No | ||
| account_id | Yes | ||
| attachment_names | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| method | Yes | ||
| mailbox | Yes | ||
| draft_id | Yes | ||
| account_id | Yes | ||
| message_id | Yes | ||
| uid_validity | Yes | ||
| attachment_hashes | Yes |