Send Saved Draft
qubrics_mailbox_send_draftSend the exact saved draft revision the user approved, with optional scheduling within 30 days. Requires the current revision to avoid conflicts.
Instructions
Send only the saved revision the user approved. Requires mailbox.read and email.send. Pass expected_revision; to schedule within 30 days also pass scheduled_for and expected_schedule_version. After cancelling a schedule, include the current schedule version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | Stable draft ID. | |
| If-Match | No | Current draft ETag; expected_revision is 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 | No | Send no earlier than this future time, within 30 days. Include a timezone and at most millisecond precision. Omit to send now. | |
| expected_revision | Yes | Exact saved revision to send. A stale revision returns conflict. | |
| expected_schedule_version | No | Current schedule version. Required for scheduling and after cancelling a schedule. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |