How to restrict mail to look into the last 24 hours Mail only

Hi All,

Anyone knows how to do restrict mail so it will just look into the last 24 hours.

Thanks!
Anmol

hey @anmolk171

Just Use Below filter in Get Outlook Mail activity.

“[ReceivedTime] < '”+now.AddHours(-24).toString+"’"

Regards…!!
Aksh

@aksh1yadav Actually I am using IMAP to retrieve mail

did you get solution ?