web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Ensure the email is un...
Power Automate
Answered

Ensure the email is unique

(1) ShareShare
ReportReport
Posted on by 62
Hi everyone,
In an email, which parameter is unique so that when moving to a folder the email doesn’t change? I’m using a SharePoint list to store the mail ID to check if it exists or not. which parameter is unique. I am using sending HTTP requests with the Office 365 connector, and using Prefer: IdType="ImmutableId" to get a unique ID. After processing, the emails are moved to another folder, but why are there still emails with duplicate IDs? So a few emails are not being processed. Thank you everyone.
Untitled.png

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (1)
  • Verified answer
    CU30121719-0 Profile Picture
    on at
  • Verified answer
    Riyaz_riz11 Profile Picture
    4,204 Super User 2026 Season 1 on at
    Hi,
     
    Use InternetMessageId from email headers - it's the true unique identifier that survives folder moves.
     
    Prefer: IdType="ImmutableId" changes but isn't reliable.
     
    In Power Automate: Get email == Parse JSON ==Extract internetMessageId from headers  Store or check in SharePoint list.
     
    Id changes when moved; InternetMessageId never changes across folders.
     
    Add duplicate check: "If InternetMessageId exists in list == skip processing
     
     
    If I have answered your question, please mark it as the preferred solution ✅ . If you like my response, please give it a Thumbs Up 👍.
    Regards,
    Riyaz
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard