It suggests that Outlook.OlSearchScope.olSearchScopeAllFolders can be used to search all folders. The article also includes a sample script. However, I have no idea how to apply this snippit of code in UIPath to achieve the objective of establishing whether any emails in the mailbox contain a specified email address.
Note - we are actually on Outlook 2016, but I’m assuming the syntax is still valid.