Skip to content
Novus Examples
mbox1.3 KB

MBOX Mailbox (three-message thread)

An mbox mailbox concatenating a short three-message email thread with the classic 'From ' separator lines and >From body escaping — for testing mailbox splitting and thread reconstruction.

Preview — first 39 linesmbox
From maya@brightside.example Thu Jan 15 09:30:00 2026
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
From: Maya Chen <maya@brightside.example>
To: Sam Rivera <sam@meridiansupply.example>
Subject: Your quote Q-2026-0148
Date: Thu, 15 Jan 2026 09:30:00 -0800
Message-ID: <t1@brightside.example>

SGkgU2FtLAoKQ291bGQgeW91IHNlbmQgYSBxdW90ZSBmb3Igb3VyIG1vbnRobHkgc3VwcGxpZXMg
b3JkZXI/CgpUaGFua3MsCk1heWEK

From sam@meridiansupply.example Thu Jan 15 09:30:00 2026
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
From: Sam Rivera <sam@meridiansupply.example>
To: Maya Chen <maya@brightside.example>
Subject: Re: Your quote Q-2026-0148
Date: Thu, 15 Jan 2026 11:05:00 -0800
Message-ID: <t2@brightside.example>

SGkgTWF5YSwKCkF0dGFjaGVkIGlzIHF1b3RlIFEtMjAyNi0wMTQ4LiBJdCdzIGhlbGQgZm9yIDMw
IGRheXMuCgpTYW0K

From maya@brightside.example Thu Jan 15 09:30:00 2026
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
From: Maya Chen <maya@brightside.example>
To: Sam Rivera <sam@meridiansupply.example>
Subject: Re: Your quote Q-2026-0148
Date: Thu, 15 Jan 2026 13:40:00 -0800
Message-ID: <t3@brightside.example>

UGVyZmVjdCwgd2UnbGwgY29uZmlybSBzaG9ydGx5LiBUaGFua3MhCk1heWEK

Specifications

Format
mbox (mboxo)
Messages
3
Separators
'From ' lines
Escaping
>From

What is a .mbox file?

An MBOX file is a mailbox that stores many email messages concatenated into one plain-text file, each message preceded by a 'From ' separator line. It is the classic Unix mailbox format used by many mail clients for export and archival.

How to use this file

Use an example MBOX to test mailbox splitting, message boundary detection, thread reconstruction, and import into a mail client or parser.

How to use this file for testing

“MBOX Mailbox (three-message thread)” is a deterministic Novus Examples fixture for Email parsing, Conversion testing. Standards-compliant RFC 822 messages — plain, multipart text+HTML, and with an attachment — plus an MBOX mailbox, for testing header parsing, MIME decoding, attachment extraction, and mailbox splitting.

Documented properties for this file: 3 messages · mbox (mboxo). Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Email fixtures use fixed dates, message IDs, and MIME boundaries so runs are reproducible, and every address is fictional. Test header parsing, MIME decoding, attachment extraction, and EML/MBOX conversion against the documented structure.

Code examples

import mailbox

for msg in mailbox.mbox("thread.mbox"):
    print(msg["subject"])

Generated by generation/email_samples.py. Free for any use, no attribution required — license.