How to get unread mails count from outlook?
Refer below image
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.
May be you have MarkAsRead checkbox checked.
I am getting 0 count if Top argument is blank. I want to get the count of all unread messages in the outlook