update_scheduled_email
Modify or cancel a pending scheduled email by its scheduled_mail_id. Set cancel: true to unschedule. Otherwise pass any subset of editable fields (to, cc, bcc, subject, body, scheduled_at) to update them in place. Cancel is mutually exclusive with field edits. Each scheduled_mail_id maps to ONE recipient row - if the original draft was scheduled to multiple recipients, call this tool once per id. scheduled_at (when given) must be ISO 8601 with timezone offset, ≥30s in the future and ≤1 year out. Returns success:false (not an error) if the email has already sent, failed, cancelled, or is currently being processed.
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": {
"scheduled_mail_id": "<scheduled_mail_id>"
},
"name": "update_scheduled_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | New recipient email (single address per row) | |
| bcc | No | ||
| body | No | ||
| cancel | No | Set true to cancel the scheduled email; mutually exclusive with edits | |
| subject | No | ||
| session_id | No | The ID of the task this call belongs to. Leave it out on your first call. On every later call for the same task, send the ID an earlier result gave you, and pass it to any subagent working on that task. | |
| scheduled_at | No | New send time, ISO 8601 with timezone offset | |
| scheduled_mail_id | Yes |