How to get unread mails count from outlook?

uiautomation
studio

#1

How to get unread mails count from outlook?


#2

Refer below image


#3

Thank you. But after that it is changing all unread mails to read mails.
But i want all unread mails to be in unread even after taking count.


#4

May be you have MarkAsRead checkbox checked.


#5

hey @vvaidya

I am getting 0 count if Top argument is blank. I want to get the count of all unread messages in the outlook