update_draft
Update a draft's recipients, subject, body, or other fields. Edit locally before sending.
Instructions
Update an existing locally saved draft's recipients, subject, body, or other fields. Use to edit a draft before sending. Only provided fields are updated — omitted fields retain their current values. After updating, call send_draft to send or sync_draft_to_remote to push to Proton Drafts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | Draft id returned by create_draft, list_drafts, or a create_*_draft call. | |
| to | No | Recipient email addresses, comma-separated. | |
| cc | No | CC recipient email addresses, comma-separated. | |
| bcc | No | BCC recipient email addresses, comma-separated. | |
| subject | No | Draft subject. | |
| body | No | Draft body. | |
| isHtml | No | Whether the body should be HTML. | |
| priority | No | ||
| replyTo | No | Optional reply-to email address. | |
| notes | No | Optional local note for the draft. | |
| syncToRemote | No | Whether to sync the updated draft to the Proton Drafts mailbox when IMAP is available. | |
| attachments | No | Attachments with base64 encoded content. |