I have a problem I though Power Automate would be perfect for, but I can find any existing Flow solutions for it.
I receive many dozens of duplicate emails a day in my Outlook inbox as a result of being included on more than one distro list, and/or part of a "redirect" rule. This obviously clogs up my inbox and causes all kinds of headaches. Since I can't really control which distro lists or redirect rules I'm placed on, I was hoping there was a way to have a rule that when an email arrives, it checks my inbox and if that email already exists, it deletes the new one (or sends it to a subfolder, etc.).
Is this even theoretically possible with PA?
If someone wanted to run things on a schedule & check for duplicate emails in given batches, then you could try altering this template for removing duplicates from a JSON array based on selected columns: https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Find-and-Remove-Duplicates/m-p/2191403#M1611
Hello Scott,
"Clean Up" only works for his own mailbox. I need a automatic solution for shared mailboxes. Have anyone solved the issue already?
I suggest using the built-in Outlook Clean Up function. On the Home ribbon, click on Clean-up and select Folder or Folder and Subfolders.
Have you solved your issue already? I am looking for a similar flow that deletes my duplicate emails
Hi Scott
I tried it too and it is like Marcus said. It always delete all mails and not just the duplicated ones. I didnt found any solution to handle it.
Best regards
Yeah... I've certainly done that before (caused damage and/or created a lot of clean up for myself). 😁 But minimal impact so far this time.
Here's my screen shots:
The full text of the expression is:
... and thank you for your continued help with this Scott. I just signed up for a "How to Use Flow Expressions" course on Udemy, but I'm not there yet.
First, turn off your Flow so that it doesn't do any damage or cause you work.
Then, please post a screen shot of the Flow.
I fixed the expression, but now it's applying it to every email. My "If yes" action was set to move the duplicate into a sub-folder (or at least that was my intention), but since making the edit to the expression, every email is being moved into the sub-folder. Unfortunately, given the week, I haven't received any duplicates yet since making the correction - so I'm not sure yet how those are behaving.
Your expression should reference body/value rather than body. You should have selected Value rather than Body from Dynamic properties.
I implemented this and let it run over the weekend. It's failing in the Conditional. Doesn't like the logic expression.
This is the expression I have in the Condition:
Did I typo something?
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492