send_draft
Send a saved Mail draft by its Drafts mailbox ID after confirming recipients and attachments; applesauce rebuilds and sends it, then deletes the original draft.
Instructions
Send a draft that is saved in a Drafts mailbox. Give its id from search_mail (with 'mailbox' Drafts). Mail cannot send a saved draft directly, so applesauce builds a new message from the draft (subject, sender, To, Cc, Bcc, plain text body and attachments), sends it, and then deletes the old draft (Mail moves it to the Trash). Formatting of a rich text draft is lost. A draft with an attachment that cannot be fetched, or with a text above 100000 characters, is not sent. Without 'confirm' true nothing is sent: the result shows the subject, the sender, the recipients and the attachment names, so ask the user first. A message outside a Drafts mailbox is refused. If Mail is not running, applesauce opens it hidden in the background and leaves it open. Sending cannot be undone. create_draft and forward_message do not return the id of the draft they save. Find it with search_mail.
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": {
"id": "<id>"
},
"name": "send_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Message id of the draft, from search_mail in a Drafts mailbox. | |
| confirm | No | Must be true to send. | |
| in_account | No | Account id of the message (the 'account_id' field of search_mail). Only needed with 'in_mailbox'. | |
| in_mailbox | No | Mailbox path of the message (the 'mailbox' field of search_mail). Only needed when Full Disk Access is missing. Give 'in_account' too. |