Data types
How do I de-identify email archives for AI training?
By SourceX Editorial · Updated
9 sections
Short answer
De-identifying email archives means removing or replacing names, signatures and addresses, personal emails mixed into work mail, attachments with sensitive data and privileged legal threads, and checking free text and attachments for hidden details. On SourceX deals, SourceX de-identifies the data, through approved processing routes, before it is used or shared.
Redaction
Data types
How to check it worked
Automated tools catch most details, but not all. Good practice is to spot-check samples, look for rare facts that could point to a person, and drop records that are doubtful. No method is perfect: SourceX's supplier agreement records that re-identification may still be possible and that SourceX is not liable for it.
The parts of an email, and what each hides
An email is several records in one. Each part carries a different kind of detail, and each is treated in its own way.
| Part | What it can reveal | Usual treatment |
|---|---|---|
| Headers | Names, addresses and who wrote to whom | Replaced with consistent placeholders |
| Body | Names and details in free text | Detected and replaced |
| Signature | Name, title, phone and address | Removed |
| Quoted replies | Earlier messages, repeated many times | De-duplicated, then treated like the body |
| Attachments | Anything a document can hold | Reviewed separately or excluded |
Why threads are hard
The same message appears many times in an archive, once as sent and again inside every reply that quotes it. If a name is removed in one copy and missed in another, the removal has failed.
Consistency is the answer. Names are swapped for consistent placeholders, so the same person is the same placeholder in every copy and the conversation still makes sense.
Removing duplicates before detection also helps. It shrinks the archive and means each message is reviewed once.
What is excluded, not redacted
Some mail should not be in the dataset at all. Personal emails mixed into work mail are excluded. So are privileged legal threads, which are easy to miss when they sit inside ordinary correspondence.
Whole mailboxes can be left out. Legal, human resources and executive mailboxes are common exclusions, because the share of sensitive mail in them is high.
Mail from people who opted out of a relevant use should be excluded from any licensed dataset.
Attachments
Attachments are where automated tools struggle most. A spreadsheet can hold thousands of names. A scan can hold a signed form.
Scanned attachments need optical character recognition before anything in them can be found, and its output is usually checked for accuracy and reviewed for personal details, because names and numbers inside images are easy to miss.
Where attachments cannot be reviewed to the same standard as the message text, leaving them out is the safer choice.
Who owns the archive
Work email usually sits in systems the company controls, but ownership of the system does not settle every question. Employee privacy rules and your own policies say what the company may do with it. Review them before email is put in scope.
On SourceX deals, the signed supplier agreement sets the data in scope, and SourceX arranges extraction, secure transfer and de-identification through approved processing routes.
How SourceX handles it
SourceX starts with a short fit check that shares no data. If it fits, your company signs one Master Supplier Licensing Agreement, SourceX assesses your inventory, and the exact dataset, payout and terms are fixed in a short Dataset Deal Confirmation that you sign before any data is delivered. SourceX then arranges de-identification through the approved route, by default with its approved acquisition partner, before the data is used commercially.
Frequently asked questions
Do I have to do the de-identification myself?
No. SourceX de-identifies the data, through approved processing routes, as the signed agreement specifies.
Is this legal advice?
No. It is general information; your counsel should review any specific deal.
Are attachments included?
Only where they can be reviewed. Attachments are reviewed separately or excluded.
What happens to personal emails in a work mailbox?
They are excluded, not redacted.
See if your company qualifies
A short company assessment. No data uploads are needed.