Hi,
I see the problem now, it is exceedingly difficult for you to do that and I have not seen any solutions for you to do it by using Retrieving Email messages from Outlook or Exchange because in these actions it only allows you to save the attachments to a folder and you will get the issue with the attachment will be overridden.
However, I have done this by using a workaround solution with the other actions by performing actions on Outlook.
I would do these steps with PAD:
1. Open Outlook
2. Retrieve email from Outlook folder to see how many emails do you have.
3. Navigating to the Outlook folder that you want to retrieve the email (Inbox or RPA folder)
4. Double click on the first email
5. Save the attachment if any.
6. Process the data from the attachment
7. Move the email to the RPA Done folder if success, or Failed folder if it failed
8. Delete the files
Then repeat the step 2 until step 8. By using this, you will alway need to move the emails that is success or failed and then repeat the step for retreiving emails. If there is no emails that match the conditions, then the flow should be stopped.
Thanks and hope it can help you.
Mike
---------------------------------
Did I answer your question? Please consider to Mark my post as a solution! to guide others