Send a draft
send_draftSends a stored email draft permanently and returns the sent-copy ID; use after create_draft or update_draft, and repeated calls within 24 hours resend nothing.
Instructions
Send a draft as it is stored. It cannot be taken back. Afterwards the draft is gone. It answers the id of the copy in the sent folder where the account keeps one. Use it once a draft from create_draft or update_draft is right. The same call repeated within 24 hours sends nothing and answers the first result.
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_id": "<account_id>",
"draft_id": "<draft_id>"
},
"name": "send_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | A draft of that account, by the id list_drafts or create_draft answers | |
| account_id | Yes | The account, by the id list_accounts names |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sent | Yes | ||
| refused | No | ||
| sent_copy_id | No | ||
| original_marked | No | ||
| message_id_header | Yes |