mark_read
Change a message's read state on your email provider. Mark as read or unread instantly, with the action recorded in the audit log and reversible by switching the value.
Instructions
Mark a message as read or unread on the provider. Returns {success}. Reversible (call again with the opposite value), executed immediately without approval, written to the audit log. No other side effect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Folder of the message (IMAP only; default inbox). | inbox |
| is_read | No | True = mark as read, False = mark as unread. | |
| account_id | No | Account to operate on (integer id from list_accounts). Omit or null = the user's active account. | |
| message_id | Yes | Message id exactly as returned by list_messages / list_unread / search_mail (opaque Graph id for Microsoft accounts, numeric IMAP UID for IMAP accounts). Ids are account-specific: never reuse one across accounts. |