ms_mailRead recent Microsoft 365 emails: list messages with previews, open full message bodies or attachments by ID, filter by unread, flagged or important, and browse mail folders.
Instructions
Read the user's recent emails from Microsoft 365. Without message_id: lists emails with preview text. With message_id: returns the full email body. Use folders: true to list mail folders, folder to read from a specific folder, attachments with message_id to list attachments, or filter for quick filters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of emails to return (1-25, default 10) | |
| filter | No | Filter shortcut: "unread", "flagged", "attachments", "important" | |
| folder | No | Folder name or ID (e.g. "Inbox", "Sent Items"). With filter, defaults to Inbox — pass "all" to search every folder including Deleted Items. | |
| search | No | Search keyword to filter emails (KQL) | |
| folders | No | List all mail folders with unread counts | |
| message_id | No | Email message ID for full body drill-down | |
| attachments | No | When used with message_id, list attachments instead of body |