Conversations and threads
Mbox Viewer keeps one row per message in the list and shows the conversation in the reading pane. When the message you open belongs to a thread of two or more messages, a section titled "Conversation (N messages)" appears under the body. It lists every message of the thread from the oldest to the newest, and a click on one of them opens it.
Where do I see the rest of a conversation?
Open a message and scroll to the bottom of the reading pane. The Conversation section lists the messages of the thread with these details:
| Column | Content |
|---|---|
| Sender | The name or address of the sender. "(unknown sender)" replaces a missing one. |
| Preview | The first words of the body. |
| Date | A short date. Hover over it to read the full date and time. |
The message you are reading is highlighted. Click another line to open that message in the same pane. A Copy button appears next to each sender when you hover over the line, and it copies the sender address, like the other copy buttons for addresses.
The Conversation section ignores the current search. It always lists the whole thread. Messages that the search filters out of the list still appear there.
How does Mbox Viewer build a thread?
Mbox Viewer computes a thread identifier for each message when it indexes the file. It takes the first of these headers that the message has:
X-GM-THRIDholds the Gmail thread identifier. Google Takeout writes it in each message.- The first entry of
Referencesis usually theMessage-IDof the first message of the conversation. In-Reply-Toholds theMessage-IDof the message being answered.- The message's own
Message-IDcomes last.
A message without any of these headers forms a thread of its own. The identifier is compared without the angle brackets and without regard to case. Messages that share the same identifier belong to the same conversation.
| Source of the mbox | How threads are grouped |
|---|---|
| Gmail (Google Takeout) | Threads follow X-GM-THRID, so the conversations match the ones in Gmail. |
| Thunderbird, Apple Mail and other clients | Threads follow References, In-Reply-To and Message-ID. |
What are the limits of a conversation?
- The reading pane shows up to 200 messages of a thread. Longer threads show their 200 oldest messages.
- A thread only contains messages of the same mailbox, because each mbox file has its own index.
- The message list does not fold conversations. Each message keeps its own row, its own tags and its own virtual folders.
How do I search one thread?
The thread: operator finds every message whose thread identifier matches the value you give.
- Open a message of the conversation and click Show original.
- Find the
X-GM-THRIDheader in a Gmail export. In other exports, find the first entry ofReferences, or theMessage-IDof the first message. - Search for
thread:followed by that value.
| Example | What it finds |
|---|---|
thread:1784394528463917153 |
The messages of a Gmail thread |
thread:"abc123@mail.example.com" |
The messages whose thread starts with that Message-ID |
thread:1784394528463917153 has:attachment |
The messages of that thread that carry an attachment |
The operator combines with every other operator. The result list then shows the thread with the
usual sort. You can save the results to a virtual folder with Save to folder, or select the
loaded messages with ⌘A or Ctrl+A and press t to tag them.
Can an AI agent read a conversation?
Yes. An agent connected through the MCP server can call get_thread with the id of any message of
the thread. The tool returns a window of the thread around that message in date order. The window
holds 10 messages by default and 50 at most. Each message text is cut at 2,000 characters, and the
whole answer holds at most 40,000 characters. To connect an agent, see
Set up Claude Desktop.
Frequently asked questions
Does Mbox Viewer group messages into conversations?
Yes. The reading pane groups them. The message list shows one row per message, and the reading pane lists the other messages of the same thread under the body in a section titled "Conversation (N messages)".
Why does the Conversation section not appear?
The section appears only when the thread has at least two messages in the mailbox. A message with no reply and no earlier message in the same mbox file has no Conversation section.
In what order are the messages of a conversation listed?
They are listed from the oldest to the newest. The message you are reading is highlighted in the list.
How does Mbox Viewer decide that two messages belong to the same thread?
Mbox Viewer uses the Gmail thread header X-GM-THRID when the message has one. Otherwise it uses the first entry of References, then In-Reply-To, then the message's own Message-ID. The subject plays no part.
Can a conversation span several mbox files?
No. Each mailbox has its own index, so a thread only contains messages from the same mbox file. A reply stored in another archive does not appear in the Conversation section.
How many messages can a conversation show?
The reading pane shows up to 200 messages of a thread. Longer threads are cut after the 200 oldest messages.
How do I search for every message of a thread?
Use the thread: operator with the thread identifier. A Gmail thread gives a query such as thread:1784394528463917153. You can read the identifier in the X-GM-THRID or References header with Show original.
Why are two replies with the same subject in different conversations?
Mbox Viewer groups messages by their headers and ignores the subject. If a mail client did not write References or In-Reply-To, the reply starts a new thread of its own.
Can an AI agent read a whole conversation?
Yes. The MCP tool get_thread returns the messages of a thread around a given message. It returns 10 messages by default and 50 at most. Each message text is cut at 2,000 characters, and the whole answer holds at most 40,000 characters.