Mark IMAP Email Read/Unread
Description
The Mark IMAP Email Read/Unread activity updates the read state of an email in an IMAP mailbox by setting or clearing the Seen flag for a specified message.
Common Capabilities
Process Data Support
This activity supports dynamic configuration using variables from the Process Data drawer.
You can bind values from Model Data, Form Data, System Data, Enterprise Variables, and Activity Outputs.
Learn more → Using Process Data
Design Time Configuration
Display Text
Specifies the activity's display name as shown on the workflow canvas.
Connection Name
Specifies the IMAP connection used to access the mailbox where the email resides.
Mail Folder
Specifies the mail folder containing the email
(for example: INBOX, Sent, or Drafts).
Default value: INBOX.
Message Identifier
Specifies the provider-specific IMAP message identifier (UID) of the email to update. Use the MessageId value returned by the Read IMAP Email activity.
Mark As Read
Controls whether the email is marked as read or unread.
- true → Marks the email as Read (sets the IMAP Seen flag)
- false → Marks the email as Unread (clears the IMAP Seen flag)
Default value: true.
Execution Control (Wait All Incoming)
Controls how the activity behaves when multiple incoming execution paths converge.
For detailed behavior and examples, see Execution Control – Wait All Incoming.
Error Handling (On Error)
Defines how the workflow proceeds if the activity encounters an error.
For supported strategies (Fault, Continue, Suspend, Retry), see On Error Handler.
Output
Updated Email
Returns the email whose read state was updated (if found).
The output includes the following properties:
- From
- To
- Subject
- TextBody
- HtmlBody
- ReceivedAt
- MessageId
- InternalId
- Attachments