Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Alter Email Variable

Hello Community,


I have a flow that is designed to populate a SharePoint list with emails that come in to my inbox. I have it set to where the title of the SharePoint entry is the subject line of the email. I have set this title column to enforce unique values. The problem is, my list will have duplicates based on if outlook puts the RE: for a reply or not. Is there a way around this? I want to be able to capture all emails just once. Is there a way to alter the email variable to take away the RE: from the subject line in flows? This way all of my subjects would be the same throughout the email chain and I would not have duplicates. Any other ideas?

Community Champion
Community Champion

You could append the date/time to the beginning or end of the Title to get unique values, or you could delete the entry and re-add it if the subject matches via a conditional check. 

If you could provide an expanded screenshot of your Flow and steps, your Flow run history, and of any detailed error messages you're receiving we could likely better assist you. Also, for the best results, you may want to review How to write a good forum post.

If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE. Want to know more? Follow @BradGroux on Twitter, and check out my Medium blog at

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (5,097)