Digital Forensic Tools

Email formats: PST, OST, MBOX, EML

Short answer

Email is stored in different file types. PST and OST are Outlook files, MBOX holds many messages in one text file, and EML holds one message per file. Each needs the right tool to open it.

PST and OST

A PST is an Outlook Personal Folders file. It is a message store with folders, messages and attachments, and Microsoft publishes its structure (MS-PST). An OST is an offline copy of a mailbox kept by Outlook for a server account.

Both are binary files and cannot be read as plain text. Deleted items can sometimes still be found inside them.

MBOX

An MBOX file stores many messages back to back in one file. A line beginning with From and a space marks the start of each message (RFC 4155). The format has several variants, so tools may handle details differently.

Many mail programs on Linux and other systems use this format or a close variant.

EML and MSG

An EML file holds one message in the standard text format with its header. MSG is a Microsoft format used for single Outlook items. Attachments are stored inside the message.

Working with them

Keep the original file, hash it and work on a copy. Open it with a tool that reads the format, then export the items you need with their headers. Note which mailbox and account the file came from. Procedures and laws differ by country and agency, so follow your lab's own procedure.

Common email file types

TypeHoldsNotes
PSTMany items in foldersOutlook, binary
OSTOffline mailbox copyOutlook, binary
MBOXMany messages in one fileText based, variants exist
EMLOne messageText with header

Common mistakes

  • Opening a PST in a way that changes the original file.
  • Assuming OST and PST are the same thing.
  • Looking only at the visible items and missing deleted ones.
  • Losing the headers when exporting messages.

Key terms

PST
An Outlook file that stores folders and messages.
OST
An offline cache of a mailbox.
MBOX
A file that holds many messages in sequence.
EML
A file that holds one email message.
Attachment
A file sent inside an email.

Questions you may be asked

What is the difference between MBOX and EML?

MBOX holds many messages in one file. EML holds a single message.

What is an OST?

An offline copy of a mailbox that Outlook keeps for a server based account.

Free tools to practise with

Learn more

Written in our own words from public forensic training material and standards. Last reviewed 24 Nov 2026. Procedures and laws differ by country and agency. Follow your own lab's procedure.