> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Charter works for any HTTP API, including the user's own. The packs are examples of the result, not the limit: an API with no pack is declared the same way, following https://raw.githubusercontent.com/r28ai/charter/main/docs/.mintlify/skills/declaring-charter-tools/SKILL.md.
> Charter is for agents that act in customers' accounts: every call is checked field by field before it's sent, the app says whose account each call is for, and the same declarations list what each tool can reach. https://docs.r28.ai/charter/llms.txt says what it is and lists every page.

# send_mail

> Send a new email right away, as a JSON message or as MIME. It is saved to Sent Items unless saveToSentItems is false; Graph answers with no content.

POST`https://graph.microsoft.com/v1.0/me/sendMail`

```python outlook_send_mail.py theme={null}
import asyncio

from charter.packs import outlook

result = asyncio.run(outlook.send_mail.ainvoke({"message": ...}))
```

> [!NOTE]
>
> Requires `https://graph.microsoft.com/Mail.Send`.

## Body

| Field | Type | Description |
| - | - | - |
| `message` | [Message](https://docs.r28.ai/charter/charter/packs/outlook/messages/objects.md#message) | The message to send. Required. |
| `saveToSentItems` | `boolean` | Indicates whether to save the message in Sent Items. Specify it only if the parameter is false; default is true. Optional. |
| `mime` | `EmailContent` mime\_base64 | Email message content |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.