Send a draft
drafts_sendSend a draft. It leaves the mailbox and consumes the draft. Only a draft is sent: a message already sent or received is refused, and nothing leaves. It sends mail the person asked to go; mail they asked to prepare is a draft. A request id already spent sends nothing again: the answer says whether that send went or may have gone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id a draft tool answered, or the draftId a search or a read answered. | |
| mailbox | Yes | The mailbox's name or its email address. | |
| requestId | Yes | Your own id for this send, new for every message. One whose send went or may have gone sends nothing again. | |
| afterwards | No | Once it has gone, its thread is archived or marked read, as threads_archive or threads_modify does it - under that tool's own permission for this mailbox, counting no second action. Where that tool is turned off or the act fails, the mail still went, and the answer's afterwards says why its thread was left. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| accepted | No | ||
| threadId | Yes | ||
| messageId | No | ||
| signature | No | Which signature went under your words, or why none did: gmail, Gmail's own for the address it went from; lumman, the one Lumman keeps for an Outlook mailbox or one whose provider is imap; none_set, that address has none - settings_send_as_patch sets one, a Gmail one only where that address is the one the mailbox signs in with; left_out, the call asked for none; already_in_words, your words already carried it; company_adds, the person has said the mailbox's company adds its own on its server. | |
| afterwards | No | What became of afterwards: done where the thread was archived or marked read; else the mail still went, reason says why its thread was left, and threadId names that thread for threads_archive or threads_modify. | |
| sentCopyKept | No | ||
| markedAnswered | No | Present where the mailbox's server would not mark the message this replied to as answered: a search for what waits on the person still finds it there. | |
| refusedRecipients | No |