Send Inbox Draft
send-inbox-draftSend a draft from a Resend inbox. This puts a real email in the mail the moment you call it, from the inbox's address to the recipients the draft already carries, and a sent email CANNOT be recalled or unsent.
Instructions
Send a draft from a Resend inbox. This puts a real email in the mail the moment you call it, from the inbox's address to the recipients the draft already carries, and a sent email CANNOT be recalled or unsent. Before using this tool, you MUST double-check with the user that they want to send this draft. Reference the SUBJECT and the RECIPIENTS of the draft when double-checking, and warn the user that sending cannot be undone. You may only use this tool if the user explicitly confirms they want to send the draft after you double-check. The draft must have at least one "to" recipient, a subject, and an html or text body, or the send fails. The whole email, encoded, can be at most 40 MB. A reply draft created without a subject has an empty one, so set it with update-inbox-draft first. Call get-inbox-draft first if you need to read back exactly what will go out, and update-inbox-draft to change it before sending. Get the draft ID from list-inbox-drafts. Returns the sent email's id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | Draft ID. Use list-inbox-drafts to find draft IDs. | |
| headers | No | Optional custom email headers as key/value pairs (e.g. {"X-Entity-Ref-ID": "unique-id"}). Header names cannot be empty, and names and values cannot contain line breaks or null characters. In-Reply-To, References and Reply-To are reserved: Resend sets them, and passing any of them, in any letter case, fails. | |
| inboxId | Yes | Inbox ID | |
| idempotencyKey | No | Optional unique key that prevents duplicate sends on retries (sent as the Idempotency-Key header). Use the same key when retrying the same logical email; use a new key for a different email. Must be 1-256 characters. |