search_emails
Search emails in Outlook or Hotmail using KQL query syntax. Filter by sender, subject, or date to find specific messages quickly.
Instructions
Search emails using Graph KQL syntax.
Examples: 'from:amazon.com', 'subject:invoice', 'from:receipts@x.com received>=2026-01-01'.
Returns list of {id, subject, from, received, snippet, hasAttachments, isRead}.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |