Dataset
Outlook email and Exchange mailbox datasets for AI training
An Outlook email dataset is the content of a business's Exchange mailboxes: Messages in the Mail folders they were filed to, Conversations, Attachments, Categories, Inbox rules, Calendar items, Contacts, Shared mailboxes and Archive mailboxes. SourceX sources it to a buyer's spec from established businesses that run Outlook on Exchange Online or Exchange Server, scoped to named mailboxes, folders and a date range. Treatment of outside correspondents and of personal and privileged mail is agreed per order. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- One business's Exchange mailboxes as messages with folder paths, conversation IDs, categories, flags and inbox rules
- Typical systems
- Outlook with Exchange Online or Exchange Server: user mailboxes, Shared mailboxes, Archive mailboxes and legacy PST files; Calendar items and Contacts on request
- Typical history
- Specified by the buyer; limited by mailbox age, retention policies and what survives only in old PST files
- Modality
- Messages with plain text, HTML or rich text bodies; folders, categories and flags as structured fields; attachments as files
- Delivery formats
- Agreed per order; commonly JSONL per message keyed by mailbox, folder and conversation, plus the original PST files
- Preparation
- Senders and recipients pseudonymized in address properties, bodies and quoted text; personal, privileged and held items screened as agreed
- Licensing
- Rights reviewed against the employer's policies and third-party correspondence; buyer and data owner check legal holds and Microsoft's terms; permitted use set in the license
- Availability
- Sourced to your spec from businesses that run Outlook and Exchange; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| mailbox_ref | string | Pseudonymous ID of the Mailbox, with its type: user mailbox, Shared mailbox, Archive mailbox or a PST file with no live account. |
| internet_message_id | string | The Message's Internet Message ID, the key that joins copies of one email held in different Mailboxes. |
| message_class | string | The item's message class, such as IPM.Note for mail or IPM.Schedule.Meeting.Request, which separates mail from Calendar items and delivery reports. |
| folder_path | string | Path of the one Mail folder that holds the Message, from the Mailbox root. |
| conversation | object | The Conversation ID and topic Exchange assigned, and the reply depth read from the Message's conversation index. |
| sender | object | The account that sent the Message and the address it was sent for, which differ under Send on Behalf, each with address type SMTP or EX. |
| recipients | array | The Message's recipient table: To, Cc and, on the sender's copy, Bcc, each marked internal or external. |
| categories | array | The Categories on the Message by name, resolved against the Mailbox's master category list. |
| flag_state | object | The Message's follow-up flag and due date, importance and read state, plus the Focused or Other classification where the Mailbox was read through Microsoft Graph. |
| body_text | string | Text of the Message body, taken from its plain text, HTML or compressed rich text form, with quoted earlier mail cut and marked. |
| attachments | array | The Message's Attachments by method: file, embedded Message or a link to a file in OneDrive or SharePoint, each marked delivered, withheld or link only. |
| rule_match | object | The Inbox rule, by name and sequence, whose conditions the Message meets, from the Mailbox's rules as of export day. |
Field names from the table above; values are masked placeholders.
Example record
{
"mailbox_ref": "mbx_ap_shared",
"mailbox_type": "shared",
"source_system": "Microsoft Outlook and Exchange",
"internet_message_id": "<m-9d04b7a1@mail.ext-org-12.invalid>",
"message_class": "IPM.Note",
"folder_path": "Inbox/Vendors/Disputes",
"conversation": { "id": "cnv_71f2", "topic": "PO 4471 short shipment", "reply_depth": 1 },
"sender": { "ref": "[PERSON_88]", "address_type": "SMTP", "sent_representing": "[PERSON_88]", "external": true },
"recipients": [{ "kind": "to", "ref": "mbx_ap_shared", "address_type": "EX" }],
"times": { "client_submit": "2025-03-11T14:25:02Z", "delivery": "2025-03-11T14:25:21Z" },
"categories": ["Waiting on vendor", "[PERSON_21]"],
"flag_state": { "flag": "flagged", "due": "2025-03-14", "is_read": true },
"body_text": "Hi team, we show 42 cartons shipped on PO 4471 and your receiving report says 38. Proof of delivery attached.",
"body_source": "html",
"attachments": [
{ "name": "pod_4471.pdf", "method": "file", "size": 48211, "delivery": "delivered" },
{ "name": "FW: PO 4471 packing list", "method": "embedded_message", "delivery": "delivered" }
],
"rule_match": { "rule": "Vendor disputes to folder", "sequence": 3, "moves_to": "Inbox/Vendors/Disputes" },
"export_basis": { "route": "purview_ediscovery_pst", "recoverable_items": "excluded", "rules_delivered": true }
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Single-label mail filing
One folder per Message gives clean targets for classifiers that file mail the way an Outlook user does.
Writing inbox rules from intent
Stored Inbox rules pair conditions with move, categorize and forward actions, worked examples for agents that write rules.
Reply drafting from a shared address
Requests to a Shared mailbox pair with the replies sent under the team's name, which often sit in the repliers' own Sent Items.
Triage and follow-up agents
Flags with due dates, Categories and read state show what staff marked for action.
Scheduling from mail
Meeting requests and the Calendar items they created link a negotiated time to the booked result.
Use-case guides: Enterprise and computer-use agents, Customer support agents, Sales agents, Private evaluation sets
What makes this data valuable
Native store format
PST or Graph data keeps the folders, Categories and flags an EML conversion can drop.
Deep folder trees
Mailboxes filed by client, project or status carry more signal than a flat Inbox.
Rules delivered
The Inbox rules list lets rule-filed mail be separated from mail a person moved.
Sent Items present
Replies sit in Sent Items, so a Mailbox without it holds questions and no answers.
Resolved addresses
Few senders left as legacy directory names with no SMTP address.
Shared mailbox attribution
Send on Behalf mail, repliers' Sent Items or audit records show who answered from a shared address.
Document stack
Outlook email dataset
One folder per message, and rules that file before anyone reads
Exchange stores every Message in exactly one Mail folder. Moving it changes its parent folder, deleting it normally moves it to Deleted Items, and Inbox, Sent Items and Drafts are folders like the ones a person creates. The tree someone built under their Inbox is therefore a single-label filing decision for every email they kept. Categories are a second axis: names on the item, several at once, with colors held in a master list per Mailbox, beside the follow-up flag, importance and read state. A Conversation crosses folders, since the reply sits in Sent Items while the mail it answers sits wherever it was filed.
Inbox rules decide much of that filing before anyone reads the mail. They are stored in the Mailbox as an ordered list of conditions, actions and exceptions. Some run on the server when mail arrives, and client-only rules run only while that person's Outlook is open. Nothing on a Message says whether a rule or a person moved it, and Exchange keeps current state, so a move leaves no trail on the item and a draft is overwritten on each save. To read a folder as human judgment, replay the delivered rules and treat what no rule explains as a person's choice.
A Shared mailbox shows several people working one address. Nobody signs in to it directly. Staff open it from their own accounts and reply with Send As or Send on Behalf. A Send on Behalf reply names both the person and the Shared mailbox. A Send As reply names only the Shared mailbox, so who wrote it has to come from whose Sent Items holds the copy or from mailbox audit records, if those were kept. In desktop Outlook the sent copy lands by default in the replier's own Sent Items, and a mailbox setting adds a copy in the Shared mailbox.
What a PST holds, and what an EML conversion drops
Mailboxes usually leave Exchange as PST files, written by Outlook's export, by an export request on Exchange Server or by a Microsoft Purview eDiscovery export. A PST is a store of folders and items described by MAPI properties, not a file of internet messages. The body may exist as plain text, as HTML or only as compressed rich text, and the original internet headers survive as one property on received mail. Colleagues inside the organization are often recorded by a legacy Exchange directory name with address type EX, not an SMTP address, and resolving those to one pseudonym per person is harder once the directory is gone.
Folder path, conversation index, Categories, flags and message class are all in the PST, but only a PST parser reads them, and a conversion to EML or MBOX keeps only what the converter mapped into headers. Other things were never in the file. Outlook's export leaves out Inbox rules, so rules must be collected separately. An Archive mailbox is a second mailbox with its own export. Recoverable Items, where Exchange keeps deleted mail and items under litigation hold or a retention policy, can come out in an administrator's export and not in a user's.
Mail from an old on-premises server may exist only as PST files that staff or AutoArchive wrote to file shares, matching no live account. To test a sample, count items by message class and folder. Measure the share of bodies held only as rich text and of senders with an EX address and no SMTP address. Check that copies of one email in two Mailboxes share an Internet Message ID and the same pseudonyms.
What to check before licensing
- Ask which route produced each Mailbox: Outlook export, an Exchange Server export request, Purview eDiscovery or Microsoft Graph. On a sample, confirm folder path, Categories and conversation index on every Message. For Graph, ask whether immutable IDs were requested, since a message ID otherwise changes when the Message is moved.
- Check how external correspondents are de-identified in address properties, display names, signatures, quoted text and internet headers, and that one outside person maps to one pseudonym in every Mailbox.
- Confirm that privileged and personal mail was screened, and how: by folder, correspondent domain, Category or review. Ask for the count removed and a marker where a Message was withheld.
- Ask whether any Mailbox is under litigation hold or a retention policy and whether Recoverable Items are in the export. The data owner's counsel should confirm held items may be licensed at all.
- Have counsel for the buyer and for the data owner read Microsoft's current terms for Exchange Online, Microsoft 365 and Microsoft Graph on exported data and API use.
- Ask for each Mailbox's Inbox rules with their order and enabled state, and for each Shared mailbox who could send from it and where sent copies were saved.
- For mail that exists only as old PST files, ask how each file was tied to an owner and a date range, and how duplicates of live mailbox content were removed.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Do Outlook folders, categories and flags survive an export?
Yes, when the mailbox is read in its native form. A PST file and the Microsoft Graph API both carry the parent folder, Categories, follow-up flag and read state of every Message. A conversion to EML or MBOX keeps headers and body, and whether the rest survives depends on the converter, so check it on the sample.
How are conversations rebuilt across several mailboxes?
By joining on the Internet Message ID. Each Mailbox holds its own copy of an email. Exchange's conversation index travels with a reply, so copies usually group the same way in each Mailbox. Ask for each Mailbox's Conversation ID to be kept and for a cross-mailbox key built from Message IDs.
Can we tell mail a rule filed from mail a person filed?
Only partly. A Message records its folder, not how it got there. Replaying the Mailbox's Inbox rules over the mail marks the Messages a current rule explains. Mail moved by a rule that was later deleted cannot be told from a person's choice, and a client-only rule may not have run. Mailbox audit logs can record moves, but an owner's own moves are not logged by default.
What does a shared mailbox show about who handled a message?
Less than a help desk tool would. A reply sent with Send on Behalf names the person and the shared address. A reply sent with Send As names only the shared address, and the person has to be found from whose Sent Items holds the copy or from mailbox audit records. Exchange has no assignee field, so teams claim mail with Categories, flags and subfolders, which the delivery should keep.
Can mail under litigation hold or a retention policy be licensed?
That is for the data owner's counsel to decide, and the answer may be no. A hold keeps items in Recoverable Items, including mail a user deleted, because of a legal matter. An administrator's export can include that folder. Ask whether any Mailbox was on hold and for held and deleted items to be flagged or left out.
Is SourceX affiliated with Microsoft?
Outlook and Exchange are named to identify the system the records come from. That does not imply a partnership with or endorsement by Microsoft. The records belong to the business that runs Outlook and Exchange, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Approved workplace email and chat exports
Approved, de-identified exports of team email threads and chat channels
- Shared inbox and customer email threads with outcomes
Team mailbox threads with external emails, assignment trail, internal comments, saved replies and an outcome per thread
- Gmail business email threads
One business's Gmail mailboxes as messages with headers, MIME parts, thread IDs and the labels on each message
- Microsoft 365 company records
One Microsoft 365 tenant's mail, chat, sites, drives and Office files, joined by Entra accounts and Microsoft 365 Groups
- Microsoft Teams chat and channel archives
One business's Teams conversations as channel posts with replies, chats, reactions, mentions and meeting transcripts
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.