send-email
Compose and send an email with optional preview and recipient validation. Supports dry-run mode to review before sending and checks for out-of-office, mailbox-full, or delivery restrictions.
Instructions
Compose and send an email immediately (destructive: sends external comms). Returns a confirmation with the saved-message id. Safety controls: dryRun: true returns the composed message for review without sending; checkRecipients: true runs get-mail-tips first to flag out-of-office / mailbox-full / delivery-restricted / external recipients; combine both for a full pre-send review. Subject to session rate limits (OUTLOOK_MAX_EMAILS_PER_SESSION env) and recipient allowlist (OUTLOOK_ALLOWED_RECIPIENTS env) when configured — calls outside the allowlist fail before any Graph request. For multi-step compose/review workflows prefer draft (action=create → update → send) since drafts can be inspected in Outlook before sending. Comma-separated recipient strings or arrays both accepted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Comma-separated recipient email addresses | |
| cc | No | Comma-separated CC email addresses | |
| bcc | No | Comma-separated BCC email addresses | |
| subject | Yes | Email subject | |
| body | Yes | Email body (plain text or HTML) | |
| importance | No | Email importance (default: normal) | |
| saveToSentItems | No | Save to sent items (default: true) | |
| dryRun | No | Preview email without sending (default: false). Returns composed email for review. | |
| checkRecipients | No | Check recipients for out-of-office, mailbox full, delivery restrictions before sending (default: false). Combine with dryRun=true for pre-send review. |