Not able retrieve all the mails on the past day

Hi All,
I am trying retrieve all mail message from outlook via get outlook messages activity by using the following filter
“[ReceivedTime] >= ‘”+now.AddDays(-1).Date.ToShortDateString+“’ AND [ReceivedTime] <= ‘”+now.Date.ToShortDateString +“’”
i have 4 messages in inbox but mailmessage.count.tostring gives result as only 2.
I want to retrieve the message that i received in past 24 hours. Please help


Check the exact time of the mails, it has to exactly 24 hours

also uncheck onlyUnreadMessages from property

you can share the screen, so that we can help


Hi ,
I used the below filter. I have 9 messages today in inbox but it retrieves only 7.

In the last message 7 is the message count and todays date. Please help