outlook_search_mail
Search emails across folders using KQL queries to locate messages by sender, subject, or date filters.
Instructions
Full-text search mail with KQL across all folders (or one, if folder is set).
Use this for "find emails about X"; use outlook_list_inbox for structured filters scoped to a single folder.
Example: outlook_search_mail(query="from:sarah@acme.com received>=2026-01-01", count=10)
query is Microsoft KQL (from:, subject:, received>=, hasattachment:true, AND/OR/NOT).
Operators must be UPPERCASE — lowercase and is matched as a literal term. Two terms
with no operator between them broaden the search; use AND explicitly to narrow.
Pass concise=True to drop large fields (preview, categories) — ~10x fewer tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| query | Yes | ||
| cursor | No | ||
| folder | No | ||
| concise | No |