send_email
Send an email template by first previewing then confirming to send. Requires user approval to prevent accidental sends.
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 |
|---|---|---|---|
| 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"]) | |
| confirm | No | Set to true to actually send. Without this, only shows a preview. | |
| account | No | Account name (uses default if omitted) |