Search mail
imap_search_messagesSearch an IMAP mailbox and return compact summaries (no email bodies), with filters for date range, unread status, and newsletters.
Instructions
Search the mailbox and return compact summaries (no bodies).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | only messages from the last N days. | |
| limit | No | max messages to return (hard-capped at 50). | |
| query | No | free text matched against headers and body. Empty = all. | |
| mailbox | No | exact mailbox name from imap_list_mailboxes. | INBOX |
| unseen_only | No | restrict to unread messages. | |
| apply_smart_filter | No | drop newsletters and automated senders using the same smart-default rules the Mycelium runtime applies. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||