search_indexed_emails
Search local indexed emails offline with free-text and field-specific filters for fast, connection-free results.
Instructions
Search the local SQLite mailbox index without making any IMAP connection. Supports free-text and field shortcuts inline: from:alice@example.com, to:bob, subject:invoice, label:Archive, domain:acme.com. Use for fast, offline-capable searches when the index is populated. Prefer search_emails when you need live IMAP results or when the index is stale or empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Free-text query across indexed metadata. | |
| folder | No | Folder filter. | |
| label | No | Folder or label filter. | |
| threadId | No | Thread id filter. | |
| from | No | Sender filter. | |
| to | No | Recipient filter. | |
| senderDomain | No | Sender domain filter such as example.com. | |
| subject | No | Subject filter. | |
| hasAttachment | No | Attachment filter. | |
| attachmentName | No | Attachment filename filter. | |
| isRead | No | Read status filter. | |
| isStarred | No | Starred status filter. | |
| mailboxRole | No | Normalized mailbox role like Inbox, Sent, Archive, or Trash. | |
| dateFrom | No | Inclusive start date/time in ISO format. | |
| dateTo | No | Inclusive end date/time in ISO format. | |
| limit | No | Maximum results. |