Read emails from outlook received on “current date”

I believe this should work perfectly

“[ReceivedTime]>= '”+now.ToShortDateString+“'”

1 Like

Can someone tell the exact filter to get emails from the last 30 days? Thank you!

@criskitz please find the below attached workflow for your solution.

FilterEmails.xaml (10.3 KB)

The below filter should work for you. It will fetch all the mails for 30 days (including today + 29 previous days).

“[ReceivedTime] > '”+now.AddDays(-30).ToShortDateString+“'”

Could you please let me know, how to read only one specific mail from INBOX, if more than one mails are avialbe . I don’t want to iterate , if using For Each. Kindly suggest

Hi @khan,

I believe that you could filter the e-mails by using the Filter and Top properties as follow:

image

image

Try specifying account name.

Hi @acaciomelo - When i run your workflow i get an exception stating that String was not recognized as valid Date Time . Do you know the reason why it could happen?