Create a draft
create_draftSave a new email as a draft without sending, building HTML from Markdown plus plain text and returning the draft UID for later review or sending.
Instructions
Save a new message as a draft in the account's Drafts folder. Does NOT send. Builds an HTML part from markdown plus a plain-text version. Returns the draft UID for send_draft.
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": {
"account": "<account>",
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| body | Yes | Markdown. [words](https://url) becomes a link on those words in the HTML part; the text part spells the URL out. | |
| account | Yes | Account id from list_accounts | |
| subject | Yes |