imap_preview_send_email
Preview and freeze an email as a draft without sending it, then confirm the returned draft ID to send. Prevents accidental sends by separating preview from confirmation.
Instructions
Preview and freeze a new email without sending it. Confirm the returned draftId with imap_confirm_send.
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": {
"to": "<to>",
"subject": "<subject>"
},
"name": "imap_preview_send_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional CC recipients | |
| to | Yes | Recipient address or addresses to freeze in the preview | |
| bcc | No | Optional BCC recipients merged with account defaults | |
| body | No | Backward-compatible alias for text | |
| html | No | Optional HTML body | |
| text | No | Optional plain-text body | |
| replyTo | No | Optional Reply-To address | |
| subject | Yes | Email subject to freeze in the preview | |
| accountId | No | Account ID to send from; optional when accountName is supplied or only one account exists | |
| accountName | No | Account name alternative to accountId | |
| attachments | No | Attachments to materialize and freeze before confirmation |