Mark mail as unread based on the specific condition

While doing the mail automation if specific condition is not satisfied don’t want read that mail keep it as unread ,please help me on this.

Refer below thread -

Regards,
Karthik Byggari

Hi karthik,
Thanks for your reply ,are there any examples on this invoke code activity ,how to call maiMessage object in invoke code activity

Sorry, I do not have right now.

Simple, pass mailMessage as input parameter and sen set the Property as Unread. Unfortunately Unread property is not available in Code

Hi @kishorebhukya Have you ever tried this? It works?
If yes, can you please give more information about this ?

Hi @KarthikByggari

Have you ever tried this?
It seems, the “mail message” type doesn’t have the unread property. The “mail item” has a property like this.
They both are two different things. Get outlook mail message gives us a list of mail messages.
Can you give some more info on this please?

Thanks,
Jiban

Hi, will send you the details soon.
Sorry for delay.

Regards,
Karthik Byggari