mark_all_read
Mark all unread messages in a folder as read, with an option to limit to messages older than a specific date. Preview affected count via dry run before applying.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Folder to mark as read (default: INBOX) | INBOX |
| olderThan | No | Only mark messages before this date as read (YYYY-MM-DD, exclusive — messages strictly before this date) | |
| dryRun | No | Preview the count of unread messages that would be marked, without flipping any flags. |