search_mail
Find Proton Mail messages by free text, sender, recipient, subject, or date range. Returns newest summaries first, or your recent inbox when no filters are set.
Instructions
Search email by any combination of free-text, sender, recipient, subject, and date range. With NO filters it returns your most recent inbox messages. Returns summaries (no body) newest first — use get_message with a result's uid to read the full text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Match a recipient. | |
| from | No | Match the sender (name or address substring). | |
| limit | No | Max results (default 20). | |
| query | No | Free text to match in the message body. | |
| since | No | Only messages on/after this date (ISO 8601, e.g. 2026-08-01). | |
| before | No | Only messages before this date (ISO 8601). | |
| unread | No | Restrict to unread messages. | |
| mailbox | No | Mailbox to search (default "INBOX"). | |
| subject | No | Match the subject. |