Get the last unread email

Hello, I wanted to ask if there is a way to get last unread email? Let’s assume that in the morning I have 2 unread emails, after I am done processing the latest email, I still have an unread email that is older, any way to get that email?

1 Like

Hello @Adrian_Poaca,

When working with the Read Email activity, it is possible to setup the activity for bringing only Unread emails:

image

In this way you will have the list of emails on the JSON saved in the variable. So now you are able to choose which email you wanna work with, and also setup to mark it as read after processing if you want.

You can find more information regarding this activity in this article:

1 Like

Hello @Adrian_Poaca, We would like to understand if the solution we provided worked for you. If it did, please mark this post as a solution.