search_emails
Searches all indexed Outlook stores, including PST archives, using semantic, hybrid, lexical, identifier, metadata, or thread modes with filters for sender, recipient, folder, dates, and attachments.
Instructions
Search ALL indexed Outlook stores including PST archives by default. Leave folder/since/until unset unless explicitly restricted; never assume inbox-only/recent scope. Check search_scope and coverage before declaring absence. mode: semantic, hybrid (default BM25 + vector), lexical, identifier (one literal ID), auto, metadata (SQL lists, no model), thread (hybrid + scoped chronological originals). For attribute lists use metadata with query=''; subject/cursor are metadata-only. sender matches name/address, recipient matches To/CC in all modes, folder accepts wildcards or trailing slash prefixes, has_attachments filters indexed metadata. Message-ID deduplication defaults on; false shows every copy. Continue metadata pages with next_cursor and identical filters. Thread context is bounded original evidence, not a generated decision summary; read originals when truncated. Attachment matches include attachment_name when enabled. since/until are inclusive local calendar dates; min_similarity (-1..1) is calibrated cosine, not confidence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| limit | No | ||
| query | Yes | ||
| since | No | ||
| until | No | ||
| cursor | No | ||
| folder | No | ||
| hybrid | No | ||
| sender | No | ||
| subject | No | ||
| recipient | No | ||
| deduplicate | No | ||
| min_similarity | No | ||
| group_by_thread | No | ||
| has_attachments | No |