ews_send_message
Sends email via Exchange Web Services (EWS) for Microsoft tenants that block SMTP and Graph API, with a required preview and explicit confirmation before delivery.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "<to>",
"subject": "<subject>"
},
"name": "ews_send_message"
}
}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 |