Send an email
vaemail_send_emailQueue a transactional email and get an accepted ID immediately, with idempotency support to prevent duplicate sends on retry.
Instructions
Queue a transactional email and return its id. The call returns as soon as the message is ACCEPTED, not when it is delivered: use vaemail_get_message to find out what happened to it. Pass idempotency_key when retrying so a network timeout cannot send the same message twice.
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>"
},
"name": "vaemail_send_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address. | |
| tag | No | Free label, useful to find the message later. | |
| html | No | HTML body. Required unless template_id is given. | |
| subject | No | Subject line. | |
| reply_to | No | ||
| from_name | No | Display name of the sender. | |
| variables | No | Values merged into the template. | |
| template_id | No | Transactional template to render instead of html. | |
| idempotency_key | No | Caller-side unique id for this send. Replays the first response instead of sending again. |