list_emails
List email summaries from a specified Outlook folder, ordered newest first, with a 500-character body preview. Supports pagination and date filters for browsing.
Instructions
List email summaries in a specific mail folder, ordered newest first. Each result includes a 500-char body preview for browsing without needing get_email. Returns {items, count, hasMore} — when hasMore is true, increment offset by limit to fetch the next page. Use after/before (ISO 8601) to filter by received date. For full email content, use get_email. Requires Outlook to be running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Only include emails received on or after this ISO 8601 date (e.g., "2025-01-01T00:00:00Z"). If omitted, no start date filter. | |
| limit | No | Maximum number of emails to return, 1-100 (e.g., 10). Defaults to 25 if omitted. | |
| before | No | Only include emails received on or before this ISO 8601 date (e.g., "2025-12-31T23:59:59Z"). If omitted, no end date filter. | |
| offset | No | Number of emails to skip for pagination (e.g., 25 for page 2). Defaults to 0 if omitted. | |
| folder_id | Yes | The folder ID to list emails from (e.g., from list_folders) | |
| unread_only | No | If true, only return unread emails. Defaults to false if omitted. |