create_draft
Save an email draft to the Drafts folder without sending it, so recipients can be reviewed and corrected before manual sending. Supports replies via in_reply_to.
Instructions
Save a draft to the Drafts folder. The result echoes the full recipient list so it can be checked. The draft is saved, never sent: it waits in the Drafts folder for the account owner to read it, correct the recipients and send it themselves. To reply, pass in_reply_to with the original's folder and uid. A subject starting with "Re:" does not thread on its own. Set quote_original to add the original below the reply as a quote, allowed only when every recipient was on the original.
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": {
"subject": "<subject>",
"body": "<body>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| body | Yes | ||
| subject | Yes | ||
| attachments | No | Attachments are taken from messages already in the mailbox, by folder, uid and part id. | |
| in_reply_to | No | ||
| quote_original | No | Add the original below the body as a quote. Needs in_reply_to. |