Save draft
save_draftSaves an email to the Drafts folder without sending it, uploading attachments to the server; show file paths and get approval first when attachments are included.
Instructions
Save a message to the mailbox's Drafts folder without sending it. Attached files are uploaded to the mail server, so treat a draft with attachments like a send: show the user the file paths and get approval first.
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": "save_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Cc | |
| to | Yes | Recipients | |
| bcc | No | Bcc | |
| body | Yes | Plain-text body | |
| account | Yes | Mailbox to send from | |
| subject | Yes | Subject | |
| attachments | No | Absolute paths of files to attach. Only from allowed folders (see list_attachment_folders). Files from approval folders trigger a Yes/No dialog on the user's computer. Files with keys or passwords are always refused. | |
| reply_folder | No | Folder of the original message, default INBOX | |
| reply_to_uid | No | uid of the message being replied to |