Mail Draft
mail_draftPrepare an e-mail (a new one, or a reply with reply_to_uid). It is NOT sent: it waits in the owner's outbox on ecomdly, where they read, edit and send it. Give the owner the link this returns. Plain text body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Copy to, comma-separated. | |
| to | No | Recipient addresses, comma-separated. For a reply it defaults to the sender. | |
| body | Yes | The message, plain text. | |
| folder | No | The folder of that message (default INBOX). | |
| mailbox | No | The address of the mailbox to use (mail_accounts lists them); may be left out when only one is connected. | |
| subject | No | Subject; for a reply it defaults to "Re: " + the original. | |
| reply_to_uid | No | The uid of the message this answers (from mail_search), so it lands in the same thread. |