Mailbox has email

Hi

I have a mailbox which I am accessing using Get outlook mail , now that mailbox contains all the new unread messages existence of which marks the triggering of BOT so I want to place a code that verifies if there is any new mail alert received .

Element exists would not work as I do not want to give image as source of existence but something which could check mailbox is not empty .

Please advice

Regards

1 Like

in the standard outlook activity you have a check box only unread mails.
You have to define for your bot what is new. So Either you store you last read mails (or the date) and when you do a new run you check the property receive date

2 Likes