How to get unread mails count from outlook?

How to get unread mails count from outlook?

Refer below image

2 Likes

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.

1 Like

May be you have MarkAsRead checkbox checked.

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