Cancel scheduled email
cancel_emailCancel a scheduled or queued email before sending begins so it is never delivered; this action cannot be undone.
Instructions
POST /emails/:id/cancel. Cancels an email that is still "scheduled" or "queued" so it is never sent; this cannot be undone (send it again to deliver it). Once sending has started it can no longer be canceled and the API returns 422 validation_error. A canceled email does not count toward the monthly allowance. Needs a full-access key.
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>"
},
"name": "cancel_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The email id returned when it was sent. |