send_message
Sends an email immediately via Microsoft Graph, supporting recipients, subject, body, CC/BCC, attachments, and saving to sent items.
Instructions
Send a new message immediately.
Args: to: List of recipient email addresses (required, non-empty). subject: Subject line. body: Message body. body_type: "text" or "html". Default "text". cc: Optional CC list. bcc: Optional BCC list. attachments: Optional list of {name, content_b64, content_type}. Total raw size must be <= 3 MB. save_to_sent_items: Default True. mailbox: Optional mailbox (defaults to signed-in user).
Returns: {"status": "sent"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| body | Yes | ||
| mailbox | No | ||
| subject | Yes | ||
| body_type | No | text | |
| attachments | No | ||
| save_to_sent_items | No |