search
Find emails matching a query and return thread summaries as JSON. Supports filters for sender, subject, date range, and tags.
Instructions
Search mail. Returns thread summaries as JSON. Query syntax is notmuch: from: to: subject: tag: folder: date:2026-01-01..2026-06-30, combined with and/or/not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| offset | No | ||
| account | No | ||
| include_excluded | No |