Save Draft
save_draftSave an email as a draft without sending it. All fields are optional, allowing incomplete drafts to be stored for later completion.
Instructions
Save an email as a draft in the Drafts folder without sending it. All fields are optional — drafts can be incomplete. Returns the server-assigned UID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC addresses, comma-separated | |
| to | No | Recipient address(es), comma-separated | |
| bcc | No | BCC addresses, comma-separated | |
| body | No | Email body (plain text or HTML) | |
| isHtml | No | ||
| subject | No | Email subject line | |
| inReplyTo | No | Message-ID this is a reply to | |
| account_id | No | Optional account ID to route this call to (multi-account configs). Omit to use the active account. Configured account IDs are listed in the settings UI (Accounts tab). | |
| references | No | Thread reference Message-IDs | |
| attachments | No | Attachments as objects with filename, content (base64), contentType |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | IMAP UID assigned to the draft | |
| error | No | ||
| success | Yes |