Send a draft
cooper_send_draftUse this when a draft should be sent now. Requires auth and message_send or draft_send. draft_write alone cannot send. Inputs: inbox_id (required), draft_id (required), add_labels, remove_labels, idempotency_key (optional Idempotency-Key). Sending deletes the draft and returns the message. An inbox in approval mode returns the pending draft with HTTP 202 until a verified owner approves it. A draft already sending returns HTTP 409 draft_sending. Allow and block lists and the suppression list are checked. A paused inbox returns HTTP 403 inbox_paused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | Draft id (dft_…) to send | |
| inbox_id | Yes | Inbox id (inb_…), username, or full email address | |
| add_labels | No | Labels to add to the message when it sends. | |
| remove_labels | No | Labels to remove before send. scheduled is reserved. | |
| idempotency_key | No | Optional Idempotency-Key. 1 to 256 characters of letters, digits, and - . _ ~. |