For 'Get Message' activities for reading emails, what happens if there are no unread messages?

For example, while working with ‘Get outlook mail message’ activity it has been opted to check the ‘Top’ 5 ‘OnlyUnreadMessages’.
Now if all the messages are marked Read and there is no unread message, will UiPath throw an exception or will it simply ignore the activity?

you can just check the count of returned collection before to process next steps :slight_smile:

Regards…!!
Aksh