Skip to content

Outlook Mark Read

Type: outlook-mark-read  ·  Package: Outlook Activities v1.0.0

Mark an email as read or unread. It is very useful in processes that read unread messages: after processing each message, you mark it as read so that it is not taken again in the next run.

From the EntryID of the email, its reading status changes according to isRead: true marks it as read (by default), false as unread.

ParameterEditorDescription
entryIdexpressionMail EntryID (from correo.Id).
ParameterEditorDescription
sessionsessionOutlook Connect session. If omitted, use the default account.
isReadbooleanMark as read (true, def.) or unread (false).

Typical pattern: read unread, process and mark as read so as not to reprocess.

Outlook Get Emails unreadOnly = true → output: correos
For Each items = = correos itemVariable = correo
└─ activities:
... procesar ...
Outlook Mark Read entryId = = correo.Id