outlook_search_mail
Search emails using Microsoft KQL across all folders or a specific folder. Filter by sender, subject, date, or attachments to find specific messages.
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).
Pass concise=True to drop large fields (preview, categories) — ~10x fewer tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| count | No | ||
| folder | No | ||
| cursor | No | ||
| concise | No |