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 / When a new email arriv...
Power Automate
Answered

When a new email arrives (V3) - message id, internet message id, conversation id explanation?

(0) ShareShare
ReportReport
Posted on by 47

Hello

I'm working on automating the tracking of emails in a SharePoint list using Power Automate.

Here's what I'm trying to do:

  • When a new email arrives, I want to:

    • Store the email body in a SharePoint list

    • Save the full email (.eml) in a SharePoint document library

If someone replies to an email that was already processed and stored, I don’t want to create a duplicate record. Instead, I want my flow to detect that it's part of an existing thread.

There are three types of IDs available in the email metadata:

  • Message ID
  • Internet Message ID
  • Conversation ID
Which of these is best to use for identifying an existing email thread, so that I can avoid duplicate records and maintain proper tracking?
 

Logic I want to build:

When a new email arrives:
If the email/thread already exists in SharePoint:
- Store the email in the document library
- (Do not create a new list record)
Else:
- Create a new record in the SharePoint list
- Save the email in the document library

I'm essentially trying to track the email thread, not just individual messages.

Any advice or best practices would be appreciated — I’ve found that most documentation and YouTube videos don’t cover this kind of thread-tracking logic

Thanks in advance!

Categories:
I have the same question (1)
  • Suggested answer
    Power Platform 1919 Profile Picture
    2,205 Super User 2026 Season 1 on at
    HI @,
    Use Conversation ID to detect and group replies into an existing thread - it remains constant for all messages in that conversation, whereas each Message ID (or Internet Message ID) is unique to a single message.
    check this link which might help: SharePoint List/Ticketing System- How to keep reply emails under the same Item - SharePoint Stack Exchange
     

    Please give the mentioned solution a try and let me know whether it works for you.
    If it solves your issue, feel free to mark this thread as answered.
    Please make sure to like the response!
    Thanks!
    - Hemanth Sai

  • Verified answer
    stampcoin Profile Picture
    5,146 Super User 2026 Season 1 on at
    please use Conversation ID for that, you can add  columns in the document library for other ids in case for the future. We use this quite often. 
    Note: Some latest message may lack of enough messages, since some people like to delete the old messages.
    Here is a link for your reference from Exchange Online and Exchange development Doc:
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard