m365_mail_list
List emails in one Microsoft 365 mail folder, returning IDs, summaries, and previews newest first. Use a filter or search to narrow results and top to cap total emails.
Instructions
Browse one mail folder (inbox by default), returning IDs, summaries and previews up to 200 characters, newest first within the returned set. Use filter or search, not both; top caps total results across internal pages. Use m365_mail_search across folders, m365_mail_read for a body, or m365_mail_folders for folder IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum total emails to return, not page size; defaults to 20 | |
| filter | No | OData filter, e.g. isRead eq false; cannot be combined with search | |
| folder | No | Folder ID or well-known name such as inbox or sentitems; defaults to inbox | |
| search | No | Search text within this folder; cannot be combined with filter |