Mark all read
mark_all_readMark every unread message in a Proton Mail folder as read, optionally limited to mail older than a set date, and preview the affected count with a dry run before changing any flags.
Instructions
Mark all unread messages in a folder as read. Optionally limit to messages older than a given date. Pass dryRun: true to preview the affected count without flipping any flags.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mark_all_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview the count of unread messages that would be marked, without flipping any flags. | |
| folder | No | Folder to mark as read (default: INBOX) | INBOX |
| olderThan | No | Only mark messages before this date as read (YYYY-MM-DD in UTC, exclusive) |