send_email
Compose and send emails from MML templates. Preview without confirm, then deliver with confirm=true.
Instructions
Send an email template. SAFETY: requires confirm=true to actually send. Without confirm, returns a preview. Always show the user the preview and get their approval before sending with confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account name (uses default if omitted) | |
| confirm | No | Set to true to actually send. Without this, only shows a preview. | |
| template | Yes | The full email template (MML format with headers and body). Get this from draft_reply output. | |
| attachments | No | Local file paths to attach (e.g. ["/tmp/report.pdf"]) |