So this issue is specific for get exchange mail. What happens is, the activity is only getting first listed mails. For example, when I mark in properties Top 5 with options - MarkAsRead and OnlyUnreadMessage.
Expected: - Activity is expected to fetch top 5 un-read messages and mark them read.
Actual: - It only access the top 5 messages in the list (irrespective of read or not read).
Scenario
I have 10 mails listed - top four is read, rest are unread with subject line 1,2,3…10
When I run get exchange mail with option OnlyUnreadMessages - it should fetch me
5,6,7,8 and 9.
But now this is only returning 5 (its just reading first 5, even when I say onlyUnreadMessages.