schedule_bulk_emails
Schedule 1–10 emails for future delivery via the user's connected Gmail mailbox(es). Before calling, recap each draft (recipients, subject, body, scheduled_at in the user's local time) and confirm with the user. Use ONE call for multiple drafts; do not loop. Each scheduled_at must be ISO 8601 with timezone offset; interpret natural-language times like 'tomorrow 9am' against the user's timezone. Returns a per-draft results array so partial failures are visible (e.g. unconnected sender, past scheduled_at). Each draft fans out into one row per to recipient - capture the returned scheduled_mail_ids if the user may want to edit or cancel later.
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": {
"drafts": "<drafts>"
},
"name": "schedule_bulk_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drafts | Yes | Up to 10 drafts to schedule in one call | |
| 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. |