Is there any way where I can get last 1 hour mail through gmail API[Urgent]

Hi All,

I need one help. Is there any way where I can get last 1 hour mail in gmail through API or any other means.
I am working on the gmail.
Currently my approach is like I am using IMAP activity to get top 500 mails then filtering out last 1 hour mail but what I want is last 1 hour mail independent of any top 500 or any number.

Any help will be appreciated.

Thanks!
Anmol

Unlike outlook, there is no filter option for IMAP activity.

Gmail API, it throws some light on filtering. Please check -

Regards,
Karthik Byggari

Hi @KarthikByggari

Can you please let me know how can I use it in UiPath exactly.

Thanks!
Anmol

I have not used gmail api in my robot development.
But I will check for you if there is any chance of using to get last 1 hr emails from gmail (api).

Regards,
Karthik Byggari

Thanks a lot