# Thread ID/ Original Message id of a list of replies in emails

**URL:** https://community.make.com/t/thread-id-original-message-id-of-a-list-of-replies-in-emails/103632
**Category:** Questions
**Tags:** ai, functions
**Created:** [February 16, 2026, 1:02pm UTC](https://community.make.com/t/thread-id-original-message-id-of-a-list-of-replies-in-emails/103632 "2026-02-16T13:02:44Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Zach](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/zach/32/88345_2.png) [@Zach](https://community.make.com/u/Zach)
#### Post date: [February 16, 2026, 1:02pm UTC](https://community.make.com/t/thread-id-original-message-id-of-a-list-of-replies-in-emails/103632/1 "2026-02-16T13:02:44Z")

</div>

### 🎯 What is your goal?

My goal,  
If an email comes through with no attachments, log and autoreply chasing attachments. if replied to my auto reply with attachments, log and autoreply confirming attachments have received. If further reply, do not log or reply.  
If an email comes through with attachments, log and auto reply confirming they have been processed, if a reply comes through, do not auto reply or log.  
I would rather not turn to a Gmail module using a threadID as not all emails coming through will be processed through Gmail.

### 🤔 What is the problem & what have you tried?

When logging emails (other user only), i can not find a way to keep the original thread ID / Message ID, i am not greatly knowledgeable with all functions however i have tried several suggestions while using ChatGpt to help me. I have spent absolute hours just trying to figure out how to find the original ID of the email that was first if a couple of email replies are inbetween.  
Ps. new to this whole community so any guidance and direction about anything wouldn’t be disappointing.

### 🔗 Create public scenario page

> **[Integration Email, OpenAI (ChatGPT, Sora - Make.com Automation Scenario](https://eu1.make.com/public/shared-scenario/R0RuoXQPVi0/integration-email-open-ai-chat-gpt-sora)**
>
> Preview Integration Email, OpenAI (ChatGPT, Sora created with Make.com. Connect your favorite apps and automate repetitive tasks.

### 📸 Screenshots (scenario flow, module settings, errors)

 ![Screenshot 2026-02-16 225620.png](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/0/509b44a91329c445094f54232360e6896899dcd4.png)

---

<div class="post-metadata">

### Author: ![damato](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/damato/32/78329_2.png) [@damato](https://community.make.com/u/damato)
#### Post date: [February 16, 2026, 3:28pm UTC](https://community.make.com/t/thread-id-original-message-id-of-a-list-of-replies-in-emails/103632/3 "2026-02-16T15:28:15Z")

</div>

Hi @Zach. Welcome to the Make community.

When someone replies to your message, their email client generally includes the `Message-ID` of the original email in the **`In-Reply-To`** or **`References`** headers.

Get the `In-Reply-To` or the first item in the `References` array and check it against your database of sent emails.

Then route the scenario according to your requirements (attachments/replies).

When using the **Email \> Send an Email** module to reply, map the incoming `Message-ID` into the **`In-Reply-To`** field of the outgoing mail. This ensures the user’s mail client groups your response correctly.

I also suggest you use a data store instead of a Google sheet.

@damato

---

<div class="post-metadata">

### Author: ![Zach](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/zach/32/88345_2.png) [@Zach](https://community.make.com/u/Zach)
#### Post date: [February 16, 2026, 4:20pm UTC](https://community.make.com/t/thread-id-original-message-id-of-a-list-of-replies-in-emails/103632/4 "2026-02-16T16:20:59Z")

</div>

Wonderful, took a few tries but absolutely wonderful, thank you very much. About data store, is it just a more improved system?

---

<div class="post-metadata">

### Author: ![damato](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/damato/32/78329_2.png) [@damato](https://community.make.com/u/damato)
#### Post date: [February 16, 2026, 5:02pm UTC](https://community.make.com/t/thread-id-original-message-id-of-a-list-of-replies-in-emails/103632/5 "2026-02-16T17:02:49Z")

</div>

I’m glad it helped.

The Data Store is a proper database inside make, suitable for simple data models. Spreadsheets are good for calculations using formulas and are way slower.

---

<div class="post-metadata">

### Author: ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)
#### Post date: [March 2, 2026, 4:27pm UTC](https://community.make.com/t/thread-id-original-message-id-of-a-list-of-replies-in-emails/103632/6 "2026-03-02T16:27:06Z")

</div>


