graph_send_mail
Send emails via Microsoft Graph with CC/BCC, HTML or plain text bodies, importance levels, reply-to addresses, and shared mailbox support.
Instructions
Send an email.
A non-empty mailbox posts to /users/{mailbox}/sendMail, so the message is
sent as that shared mailbox and needs the delegated Mail.Send.Shared permission.
Args:
to: List of recipient email addresses.
subject: Email subject.
body: Email body content. When is_html is true, send explicit
HTML; markdown is not converted.
cc: Optional list of CC email addresses.
bcc: Optional list of BCC email addresses.
is_html: Whether to send the email body as HTML content (default:
True). Use false for plain text.
importance: Message importance: "low", "normal", or "high" (default
"normal").
reply_to: Optional list of addresses that replies should be sent to.
save_to_sent_items: Whether to keep a copy in Sent Items (default true).
mailbox: Shared mailbox address or user ID to act on. Empty targets your own
mailbox. Requires the delegated Mail.*.Shared permissions.
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>"
},
"name": "graph_send_mail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| body | Yes | ||
| is_html | No | ||
| mailbox | No | ||
| subject | Yes | ||
| reply_to | No | ||
| importance | No | normal | |
| save_to_sent_items | No |