search_emails
Search Outlook emails using full-text queries for natural language search, or structured filters for precise matching on sender, subject, and date range.
Instructions
Search emails using full-text query OR structured filters (mutually exclusive). Use query for natural search, or structured filters for precise field matching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Filter by sender email address | |
| limit | No | Maximum results (default 20, max 500) | |
| query | No | Full-text search query (uses Exchange search index). Cannot be combined with structured filters. | |
| subject | No | Filter by subject (contains match) | |
| folderId | No | Scope search to a specific folder | |
| receivedAfter | No | ISO 8601 datetime — only messages received after this time | |
| receivedBefore | No | ISO 8601 datetime — only messages received before this time |