prepare_send
Prepare an email preview for approval before sending. Returns the exact message and a one-time token, letting you review then send or save as draft.
Instructions
Prepare a new email and return a preview for the user to approve.
This does NOT send anything. It returns the exact message that would go out plus a one-time token. Show the preview to the user, and only call commit_action once they have approved it. from_account must name one of the accounts from list_accounts. Set save_as_draft=True to put it in Drafts instead of sending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| body | Yes | ||
| subject | Yes | ||
| attachments | No | ||
| from_account | Yes | ||
| save_as_draft | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |