Thanks for your response. Inside the for each activity I would like to remove unwanted Mail objects that contain attachments that are not .xlsx or .csv.
Mail1: .xlsx, .csv → GOOD EMAIL (keep in list)
Mail2: xlsx, .csv, .zip → BAD EMAIL (remove from list)
Emails that contain file types other than .xlsx or .csv need to be processed by a human. Emails containing file types of only .xlsx or .csv are good for robotic automation.
Please see the attached screenshot of my issue:
*annotations in the activities are for clarification
