search_mail
Search a local mu-indexed mailbox with mu query syntax to find messages by sender, subject, date, or flags; returns metadata records without exposing filesystem paths.
Instructions
Search the local mu-indexed mailbox using mu query syntax.
Examples: "from:alice@example.com subject:invoice", "after:2025-01-01 before:2025-02-01", or "flag:unread". Returns at most 100 metadata records; local filesystem paths are excluded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | date | |
| limit | No | ||
| query | Yes | ||
| descending | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |