Actions30
- Message Actions
- Label Actions
- Draft Actions
- Thread Actions
Message → Mark a Message as Unread
AI-generatedSummary
Marks a specified Fastmail message as unread. Requires the Message ID. Accepts but ignores fetch options (such as read status, search, etc.). Returns success status and, if debug is enabled, includes the JMAP response and before/after message state.
Inputs
- messageId (required) — ID of the message to mark as unread
- fetchOptions — Collection of options (read status, search, etc.) that are accepted but not used for this operation
Output shape
An object per input item containing: action ('markUnread'), messageId, successful (boolean), and if debug enabled: JMAP response and before/after message state
Before/after state includes message ID, mailbox IDs, and keywords when debug is enabled