After get exchange mail check if mail was already replied or forwarded

Is there a way to get these properties?

Read mails in an inbox, mails that are read and treated (replied or forwarded) can be disgarded.

Best regards

1 Like

this can be done by
–first enable the property onlyunreadmails in the property panel of the get outlook mail activity so that we will be getting only unread mails
–then once after getting the output from the mail activity with a variable of type list of mail message pass it to a for each loop as a input and change the type argument as in the property panel of for each activity
–inside the loop use a if condition and mention like this
item.Subject.ToString.ToUpper.Startswith(“FW”) or item.Subject.ToString.ToUpper.Startswith(“RE:”)
if true it will go to THEN part where we can leave it empty and if false will go to ELSE part where we can have our process to be followed

hope this would help you
Cheers @matthias.sevenant

So this mailbox is an info mailbox. There are human workers maintaining the mailbox. When we launch the activity some mails are being treated by the human workers and get a status, forwarded or replied.

At the same time rpa will gather all mails and wants to exclude the forwarded or replied messages based on mail property so not the subject.

It does not contain RE or FW