mailbox_send_draft
Send a saved draft exactly as it is at the given revision. If the agent key lacks send permission, it requests owner approval; resubmitting same id and revision is safe and never sends twice.
Instructions
Send a saved draft exactly as it is at the given revision (from mailbox_save_draft or mailbox_list_messages). When the owner gave this agent key the send permission it goes out now; otherwise this asks the mailbox owner to approve it (status awaiting_approval): they are emailed and send it from the dashboard. Sending cannot be undone. Calling it again with the same id and revision is safe: it returns that send's status (queued, sending, accepted, unknown or failed) and never sends twice; a submitted draft can no longer be edited. queued is not delivered: read the draft or the Sent folder for the outcome.
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>",
"expected_revision": "<expected_revision>"
},
"name": "mailbox_send_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Draft id | |
| mailbox | No | Mailbox address (or id) from mailbox_list_accounts. Needed when the credential covers several mailboxes and has no default. | |
| expected_revision | Yes | The draft's current revision |