Microsoft 365 - Mark email as read/unread

Hello There,

Good Day!

Is there particular UiPath activity we can mark email as read with Microsoft 365?

Generally, we need to get all emails with perticular keywords and top 30 emails (which we are doing with Get Email Activity) and we iterate loop to find perticular client name and some more text exist it not in
email and mark as read/unread.

We cannot use desktop outlook and other email method. We need to use Microsoft 365.

We found we need to use Graph API as alternative solution.We have client Id, Client secret and Tenant Id.

Package Version - 2.6.21

Thank you in advance

Hi, you can use the UiPath.MicrosoftOffice365.Activities package for this (found in the manage packages > all packages tab)
To solve your query regarding emails, you can use For Each Email, add the filters that you need and in the Properties tab have the “Mark as Read” set to True.

Let me know if you need additional details.

Hi @malak.dudhia
please find below screenshot as you need to enable option as mark as read

Thank you for the reply.

It will mark all emails as read/unread…However, on base of some condition like client name exist or not in email that should be read state and other emails should be unread state.

Thank you for the reply.

It will mark all emails as read/unread…However, on base of some condition like client name exist or not in email that should be read state and other emails should be unread state.

I get it, there is also an activity inside the package to mark them as read/unread, that might help you more.