Mark a message
markMark a message as read, unread, starred, or unstarred in your Proton Mail inbox. Specify the message UID and chosen action, with optional dry run to preview changes.
Instructions
Mark a message read/unread or star/unstar.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| action | Yes | ||
| folder | No | Default INBOX. | |
| dry_run | No | Preview exactly what would happen and change nothing. Needs no confirmation. | |
| uidvalidity | No | UIDVALIDITY reported alongside the uid. Pass it back so a mailbox resync cannot make this act on the wrong message. |