Can somebody help me what activities and logic I should use for the below use case?
I want to search in a shared Outlook inbox. However, it should search through the folders Inbox, Sent, Deleted to see if a particular email was found. The search criteria would be a string that I am pulling from a datatable. Also, only the emails that have attachments (only .pdf) should be searched for. Once the email is found, the top 3 emails should be copied and pasted into a shared drive folder (as email message files) and the attachments within the email should be downloaded.
Can someone please help me with how I should go about this?