send_email
Sends a new email from a specified Outlook account, with optional CC, attachments, and true Send As. Use the account substring to avoid sending from the wrong mailbox.
Instructions
Send a new email. The account parameter is REQUIRED — pass a substring of the account name (e.g. SMTP address) to disambiguate. This prevents accidentally sending personal mail from a work account (or vice versa) when multiple accounts are configured in Outlook. Use the optional send_as parameter to send AS a different mailbox (true Send As — recipient sees the target address as the sender, no "on behalf of"). Requires Exchange "Send As" permission granted server-side on the target mailbox.
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>",
"body": "<body>",
"account": "<account>"
},
"name": "send_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipients (comma-separated, optional) | |
| to | Yes | Recipient email address (comma-separated for multiple) | |
| body | Yes | Email body (plain text) | |
| account | Yes | REQUIRED. Substring of the sending account name (typically the SMTP address). Validated against configured accounts at runtime — error lists available accounts if no match. This is the TRANSPORT account (the mailbox actually submitting the message). When `send_as` is also set, this account must have Exchange "Send As" permission on the target mailbox. | |
| send_as | No | Optional. SMTP address of a mailbox to send AS. The recipient sees this address as the From with NO "on behalf of" suffix. Works by rewriting MAPI sender properties via PropertyAccessor. Constraints: (1) the `account` user must have Exchange "Send As" permission on this mailbox — granted by an Exchange admin; the MCP cannot grant or verify it. (2) The address must be resolvable by Exchange (typically same tenant); external addresses like gmail.com will fail at resolution. (3) If the permission is missing, Exchange may bounce the send, silently downgrade to "on behalf of", or leave the message in the Outbox — behavior depends on tenant policy. (4) Do NOT use this to spoof external senders; it only works inside an Exchange organization that explicitly authorized it. | |
| subject | Yes | Email subject | |
| attachments | No | Optional list of absolute file paths to attach. Forward or back slashes are accepted on Windows. No ~ or env-var expansion — pass fully resolved paths. |