Save a draft
create_draftSave a message in a mailbox's Drafts folder WITHOUT sending it. Use this when a person should review a message before it goes out: they can open, edit and send it from their mail app, or you can send it later with send_draft. Returns the draft's uid.
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": {
"mailbox": "<mailbox>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC address(es), comma-separated | |
| to | No | Recipient address(es), comma-separated. May be left out and filled in later. | |
| bcc | No | BCC address(es), comma-separated | |
| html | No | HTML body | |
| text | No | Plain-text body | |
| mailbox | Yes | Full address of the mailbox the draft belongs to | |
| subject | No | ||
| fromName | No | From name the draft is sent under; default is the mailbox's own name | |
| inReplyTo | No | Message-ID being replied to (for threading) | |
| references | No | Space-separated Message-IDs of the conversation so far |