compose_email
Create and send new messages from a specified mail account, with attachments, CC/BCC, and HTML. Choose immediate send, draft, or review.
Instructions
Compose and send a new email from a specific account.
Args: account: Account name to send from (e.g., "Gmail", "Work", "Personal") to: Recipient email address(es), comma-separated for multiple subject: Email subject line body: Email body text (plain-text fallback when body_html is used) cc: Optional CC recipients, comma-separated for multiple bcc: Optional BCC recipients, comma-separated for multiple attachments: Optional file paths to attach, comma-separated for multiple (e.g., "/path/to/file1.png,/path/to/file2.pdf") mode: Delivery mode — "send" (send immediately, default), "draft" (save silently to Drafts), or "open" (open compose window for review before sending) body_html: Optional HTML email body for rich formatting
Returns: Confirmation message with details of the email
User Preferences: {"workflow": "default", "notifications": "enabled"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| body | Yes | ||
| mode | No | send | |
| account | Yes | ||
| subject | Yes | ||
| body_html | No | ||
| attachments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |