Mark a message
markChange read/unread or star status for one or many Proton Mail messages by UID, with optional dry-run preview to verify actions before applying.
Instructions
Mark one message (uid) or many in one pass (uids) read/unread or star/unstar.
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": {
"action": "<action>"
},
"name": "mark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | One message. Pass this or uids. | |
| uids | No | Several messages, as explicit uids. No wildcards. | |
| 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. |