ews_send_message
Send email via Exchange Web Services. Works on Microsoft tenants that block SMTP and Graph API. Before calling, show the user a full preview (To, CC, BCC, subject, rendered body, attachments) and get explicit confirmation.
Instructions
Send email via Exchange Web Services. Works on Microsoft tenants that block SMTP and Graph API. Before calling, show the user a full preview (To, CC, BCC, subject, rendered body, attachments) and get explicit confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipients (optional, max 50) | |
| to | Yes | Recipient email addresses (1..50) | |
| bcc | No | BCC recipients (optional, max 50) | |
| subject | Yes | Email subject | |
| body_html | No | HTML body. Separate field from `body_text`: pass the HTML itself, never wrapped in pseudo-tags like `<body_html>`; the server rejects them. | |
| body_text | No | Plain text body. Separate field from `body_html`: never concatenate the two or wrap content in pseudo-tags like `<body_text>`; the server rejects them. | |
| account_id | No | Account identifier (defaults to `"default"`) | default |
| references | No | References header for threading (optional) | |
| in_reply_to | No | In-Reply-To message ID for threading (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool-specific data payload | |
| meta | Yes | Execution metadata (timestamp, duration) | |
| summary | Yes | Human-readable summary of the operation outcome |