Search messages
search_messagesSearch a mailbox using filters like sender, subject, date range, and unread status. Returns matching message summaries sorted newest first.
Instructions
Search a mailbox. All filters are optional and combined with AND. Returns summaries, newest first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | No | Mailbox path; default "INBOX". | |
| from | No | Match sender. | |
| to | No | Match recipient. | |
| subject | No | Match subject. | |
| text | No | Free-text match in the message. | |
| since | No | ISO date — on/after. | |
| before | No | ISO date — before. | |
| unreadOnly | No | Only unread messages. | |
| limit | No | Max results (default 25). |