create_draft
Saves an email draft to the IMAP Drafts folder for Gmail, Outlook, or custom domains so users can compose and store messages without sending them immediately.
Instructions
Save a draft email to the IMAP Drafts folder — works with Gmail, Outlook, and custom domains.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountId": "<accountId>",
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipients | |
| to | Yes | Recipient email address | |
| bcc | No | BCC recipients | |
| body | Yes | Email body content | |
| isHtml | No | Whether the body is HTML (default: false) | |
| subject | Yes | Email subject | |
| accountId | Yes | The ID of the account to use | |
| confirmationId | No | Confirmation token from a prior confirmation-required response. Required to execute write operations when server is in --confirm mode. | |
| includeSignature | No | Whether to append the account signature (default: true). Set to false to suppress the signature for this draft. |