Hello all!
I have created a few Flows that create a case when an email is tracked in a shared mailbox.
The problem is that this requires some manual input to check that the case has been created as all emails are tracked regardless, so what I have been trying to get working is adding to the flow the Move Email (V2) step so that anything that is processed can be moved to a sub folder.
It seems very hit and miss as it will initially work fine but if there are multiple emails in the mailbox it will just move them all on a single run of the flow, causing several to be missed and not logged.
It currently looks like this -

Details of the Get Emails (V3) step -

Next flow steps -

Details of the flag and move emails steps -

So what I'm looking for is a way of just the emails that have logged cases to be moved as we have exceptions in the flow that stop non contacts from logging cases.
Any advice on this would be greatly appreciated
Cheers
Sam