Count emails from Outlook returns always 0

Hello everyone,

I’m trying to count the emails received in Outlook but I always get 0 as result.

The activity “Get Outlook Mail Message” works fine but I’d like to stop the execution if there are not emails inside the folder, for that reason I’d like to count those emails.


You can use if else condition to check, if you have email or not…

Condition you can use → list.count=0

Maybe only unread option is checked so the count could be 0 if there are no unread mails.

It was my mistake, the argument : “out_emails” direction was “in” instead of “out”, that is the reason why it was always 0.
Sorry for that and thank you for your support.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.