prepare_send
Create a local email preview without sending; sender is locked to the account email and a token expires in 10 minutes. For replies, pass the parent message ID.
Instructions
Create a local preview; sends nothing. From is locked to account email. Token expires in 10 minutes.
Show the entire preview to the user before sending. For replies provide the parent provider message_id; RFC headers/thread are derived from that account's parent. Reply subject must match.
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>",
"recipients": "<recipients>",
"subject": "<subject>",
"body": "<body>"
},
"name": "prepare_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| mailbox | No | INBOX | |
| subject | Yes | ||
| account_id | Yes | ||
| recipients | Yes | ||
| reply_to_message_id | No |