Change Draft Schedule
mailbox_control_draft_scheduleReschedule or cancel a saved draft email send only when requested. Uses expected revision and schedule version; setting a null time cancels and makes the draft editable.
Instructions
Reschedule or cancel a saved draft send only when the user asks. Requires mailbox.read and email.send. Pass the current expected_revision and expected_schedule_version; scheduled_for=null cancels. Cancellation fails once sending has begun.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | Stable draft ID. | |
| If-Match | No | Current draft ETag; both revision and schedule version remain required. | |
| mailbox_id | No | Mailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox. | |
| scheduled_for | Yes | New future time within 30 days, or null to cancel and make the draft editable. Cancellation fails once sending has begun. | |
| expected_revision | Yes | Exact saved content revision. | |
| expected_schedule_version | Yes | Current schedule version; stale requests return conflict. Repeating the last identical request returns its current result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |