send_email
Send an email through Outlook with optional CC, BCC, file attachments, inline images, and HTML formatting. Returns the sent message ID and timestamp.
Instructions
Send an email from Outlook with optional CC, BCC, file attachments, inline images, and HTML formatting. This action sends the email immediately and cannot be undone. Returns the sent message_id and sent_at timestamp. Use list_accounts to find account_id if sending from a non-default account. Returns an error if required fields (to, subject) are missing or if attachment file paths do not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipient email addresses. If omitted, no CC recipients are added. | |
| to | Yes | Recipient email addresses (e.g., ["user@example.com"]) | |
| bcc | No | BCC recipient email addresses. If omitted, no BCC recipients are added. | |
| body | Yes | Email body content — plain text or HTML depending on body_type | |
| subject | Yes | Email subject line (e.g., "Meeting follow-up") | |
| reply_to | No | Reply-to email address. If omitted, replies go to the sender address. | |
| body_type | No | Body content type: "plain" for text or "html" for rich formatting. Defaults to "plain" if omitted. | plain |
| account_id | No | Account ID to send from (e.g., from list_accounts). If omitted, uses the default account. | |
| attachments | No | File attachments to include. If omitted, no files are attached. | |
| inline_images | No | Inline images for HTML body. If omitted, no inline images are included. |