Proton Search Emails
proton_search_emailsSearches one folder of a Proton Mail account for query in the messages' headers and text, newest first. folder defaults to INBOX; "All Mail" searches every message. since and until narrow it to a period of days. The search is run by Proton Mail Bridge on this computer. Nothing is marked as read. Read from Proton Mail Bridge on this computer; it requires a Proton plan that includes Bridge, with Bridge running.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "proton_search_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Messages per page (default 20, max 100). | |
| query | Yes | Text to look for. | |
| since | No | Only messages received on or after this day (2026-01-31). | |
| until | No | Only messages received on or before this day. | |
| folder | No | Folder name (default INBOX). | |
| offset | No | Matches to skip (default 0). | |
| account | No | The Proton Mail account: its address, as proton_status lists it. Optional when one account is connected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| emails | Yes | ||
| folder | Yes | ||
| account | Yes | ||
| has_more | Yes | ||
| total_matches | No |