create_mailbox_draft
Save a real plain-text or HTML draft in the mailbox Drafts folder, visible in Apple Mail, webmail and IMAP. Never sends or schedules. Use only at user request. Reuse requestKey only for an identical retry. If saving or unknown, check Drafts instead of creating another copy. Returns draft ID, version, mailboxEmailId and mailboxBlobId.
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": {
"mailboxId": "<mailboxId>",
"requestKey": "<requestKey>",
"to": "<to>",
"subject": "<subject>",
"text": "<text>"
},
"name": "create_mailbox_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| html | No | Optional HTML formatting: paragraphs, links, emphasis, lists and quotes. Sanitized; no CSS, images, scripts or attachments. Read returned content and warnings. On updates omission preserves existing HTML; provide both bodies when editing, or null to switch to plain text. | |
| text | Yes | Required plain-text alternative. Keep its meaning consistent with html. | |
| subject | Yes | ||
| mailboxId | Yes | ||
| requestKey | Yes | ||
| replyToMessageId | No | ||
| senderIdentityId | No |