Get Inbox Draft
get-inbox-draftRetrieve an email draft by ID to review its recipients, subject, body, attachments, and reply details before sending. Use the draft ID from list-inbox-drafts.
Instructions
Get a draft by ID from a Resend inbox, body included: its recipients, subject, html and text, the files it carries, and the thread and message it replies to if it is a reply. A draft is one message being composed, so its body is returned here, unlike get-inbox-thread, which lists a whole conversation without the bodies. Use this to read a draft back before send-inbox-draft puts it in the mail. Get the draft ID from list-inbox-drafts.
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": {
"inboxId": "<inboxId>",
"draftId": "<draftId>"
},
"name": "get-inbox-draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | Draft ID. Use list-inbox-drafts to find draft IDs. | |
| inboxId | Yes | Inbox ID, or the inbox email address (e.g. "support@example.com"). Not the Resend receiving address. |