Our accounting department has a shared mailbox with a few dozen folders, to which mail is automatically moved based on the sender's address. The flow I'm working on should upload the attachments on these emails (if there are any) to an Azure Blob Storage and mark the email as read.
The issue here is that the "When a new email arrives (in a Shared mailbox)" trigger can only listen to a single folder.
One solution (sort of) is to create another folder, copy the email to it and have the trigger listen to this new folder instead. However, when doing so it will only mark emails as read in this new folder, and not the original folder.
Is there any way other way of doing this, so that mails are being marked as read in their original folder?