Save Draft
save_draftSave email drafts to the Drafts folder without sending, allowing incomplete emails with optional fields and returning a server-assigned UID.
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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_draft"
}
}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 |