email and document metadata to a privilege log

Privilege Log Generator

Load emails, documents and metadata lists, group the emails into threads and families, mark each item as produced, withheld or redacted with your own basis and description, and export a privilege log, a redaction log and a names legend. The count of items logged, produced and not yet reviewed is checked against the number loaded.

This page does not decide what is privileged and gives no legal advice. It never suggests a privilege call: every status, basis and description is yours. Attorney names are only flagged from the names list you type, and a filter that shows items involving them is a sorting aid, not a finding. Local rules and court orders set the required log columns; choose yours below and check the result before serving it.

1. Load items

Choose emails, documents or metadata files

.eml, .msg, .mbox, .docx, .xlsx, .pptx, .pdf, and load files as .csv, .tsv, .dat or .xml; up to 200 MB each

PST files are not read here; export to MBOX or EML. For load files, columns are matched by name (DocID, DateSent, From, To, CC, BCC, Subject, FileName, ParentID, MessageID and similar) and EDRM-style XML Tag elements are read. Dates of loose documents come from the file's own properties, or from the file system when it has none.

2. Names list

One person per line: Name; email, email; role. End the name with * for an attorney.

0 people, 0 marked as attorneys. Participants are matched by email address, then by exact name.

Privilege Log Generator

Operator: Abdulla Al Fahad. How tools are built and checked

A privilege log is the list a party serves when it withholds or redacts documents from a production: one row per document, or per category, saying who wrote it, who received it, when, what kind of document it is, which privilege is claimed, and enough description to let the other side assess the claim. The tedious part is not the law. It is getting the dates, the participants and the family relationships right for hundreds of items, and not losing one.

This page reads the metadata for you, from emails, from Office and PDF files, or from a load file, and groups emails into threads, keeps attachments with their parent and points out duplicates. Then it stops. Whether an item is privileged, which privilege applies and how to describe it are entered by you, one item or one selection at a time.

The names list is where you say who is an attorney. The page flags those people with an asterisk in the log, the way printed legends do, and can filter to items they took part in. That filter is a way to sort the pile, not a view on what is privileged.

Key features

  • Reads .eml, .msg and .mbox email (an mbox is read one message at a time), the properties of .docx, .xlsx, .pptx and .pdf files, and load files as CSV, TSV, Concordance DAT, XLSX or XML including EDRM-style Tag elements
  • Threads emails by Message-ID, In-Reply-To and References, with an optional subject-based fallback for messages that carry no thread headers
  • Keeps each attachment as its own item under its parent, numbered in family order, and skips inline images such as signature logos
  • Flags exact duplicates (same Message-ID, same body sender and time, or same file hash) and near duplicates that share at least 85 percent of their four-word phrases
  • Review table with bulk selection of pages, families and threads, status, privilege asserted, your own description, the redacted portion, and a names list that marks attorneys

Where the log fields come from and how threads, families and duplicates are decided

The fields of a log row come from different places. For an email, the date is the Date header read in its own offset, the author is From, the recipients are To, CC and BCC, and the title is Subject. For an Office file, the author and dates are in docProps/core.xml; for a PDF, the information dictionary; for a load file, the columns whose names match DocID, DateSent, From, To, CC, BCC, Subject, FileName, ParentID, MessageID and similar. A file with no embedded date takes the file system's modification time and says so in the item's source.

Threading follows RFC 5322. Message-ID names a message, In-Reply-To names the one it answers, and References lists the chain. Two messages are in the same thread when any id links them, directly or through others. Mail clients do not always set these headers on a forward, which is why the subject fallback exists: it strips Re:, Fwd: and similar prefixes, and joins a message with no thread headers to the first message that has the same normalised subject of at least four characters.

Federal Rule of Civil Procedure 26(b)(5)(A) requires a party withholding information to describe it in a way that lets others assess the claim without revealing what is privileged, and many courts accept categorical logs by agreement or order. Local rules and ESI orders decide the required columns, so every column here can be switched on or off.

The attorney asterisk and a names legend are conventions, not a rule: the legend lists everyone named on a logged row, attorneys first, with the email addresses and role you gave.

How it works

Each email and each attachment becomes an item with its own control number, assigned by date and then by load order, with every attachment directly after its parent. Duplicates are found in two passes: an exact pass on Message-ID, on a hash of the normalised body with sender, time and subject, and on the SHA-256 of file bytes; then a near pass on emails with the same normalised subject.

For the near pass, each body is cut into overlapping four-word phrases, hashed, and the 2,000 smallest hashes are kept. Two emails are near duplicates when the overlap divided by the union is 0.85 or more. Only the first 60 emails of one subject are compared with each other, so a mailing list with thousands of identical subjects is not compared pairwise.

The log holds the items you set to Withhold in full or Produce with redactions. Redactions also get their own sheet. A categorical log groups logged items by thread or by sender and privilege and asks for one description per category. Before export the page adds up the statuses and compares them with the number loaded.

Anything you left blank prints as the words REVIEWER TO COMPLETE in the cell instead of an empty cell, so a half-filled log cannot be mistaken for a finished one.

Typical uses

  • A small firm gets an mbox of 2,300 messages for a custodian and a request to log everything sent to or from the general counsel; it filters to items involving the attorney, reviews them in threads, and exports a categorical log by thread with one description per thread.
  • Opposing counsel produces a load file with ParentID; loading it next to the firm's own Word files lets the reviewer keep a contract and its covering email together under one family.
  • A paralegal finishing the log finds the reconciliation line short by twelve items, filters on Not reviewed, and realises a folder of .msg files was dropped in after the first pass.

Building one

  1. Drop the emails, documents or load files. Spreadsheet files are documents to log by default; switch the setting if an .xlsx is a metadata list.
  2. Type the names list, one person per line, ending an attorney's name with an asterisk.
  3. In the review table, select items, then set the status, the privilege and the description. Add families or threads to a selection when the same call applies to all of them.
  4. For items produced with redactions, type what is redacted in the field that appears under the description.
  5. Choose the columns and, if you want one, a categorical log; read the reconciliation line; then download the workbook, the document or the CSV.

Example

Load example: seven .eml files and a names list, then set PRIV-000001, -000002 and -000003 to Withhold in full (attorney-client), -000004 to Produce with redactions and -000008 to Produce

Seven emails and one attachment (Supply_Agreement_v3.txt) from a made-up supply-contract thread; Dana Whitfield and Priya Raman are marked * on the names list

What the page reports

8 items in 2 threads (3 with the subject fallback off)
PRIV-000005 is an exact duplicate of PRIV-000004 (same Message-ID); PRIV-000006 is a near duplicate of PRIV-000003 (86% of four-word phrases shared)
PRIV-000003 on the log: 2024-03-04, Email, Dana Whitfield*, to Tomas Berg, cc Priya Raman*, Withheld in full, attorneys Dana Whitfield; Priya Raman
8 loaded = 3 withheld + 1 produced with redactions + 1 produced + 3 not reviewed; 4 items on the log
Legend: Dana Whitfield*, Priya Raman*, Tomas Berg

Tips for best results

  • Set the control prefix and digits before reviewing; control numbers are assigned from the full item list, so adding files later renumbers everything after the earliest new date.
  • Select a whole thread before setting a status, then open the family of any item that needs a different call; it is quicker than the reverse.
  • Switch Show email addresses on when two people share a name; the log then prints each address beside the name.

Things to check before you rely on it

Near-duplicate detection compares body text only. Two emails that differ in an attachment, or in the recipients, can be flagged as near duplicates, and it is for you to decide whether the second needs its own row.

BCC is present only in the sender's copy. A recipient's copy of the same email shows no BCC, so the same message can log differently depending on whose mailbox it came from.

Common errors and how to fix them

The file is an Outlook data file (.pst).
PST files are not read on this page. Export the messages to MBOX or EML, or load a metadata list from your review platform.
A load file's columns were not used.
The page matches column names such as DocID, DateSent and From. Rename the headers to those, or save the list as CSV with a header row that uses them; the unused columns are listed in the notes.
An XML file declares entities, so it was not read.
Only the five predefined entities are decoded. Export the list again without a DOCTYPE that defines entities.
Logged items print REVIEWER TO COMPLETE.
Those items have no privilege or no description. Filter on Withhold in full and Produce with redactions, and fill in the missing fields before serving the log.

Best practices

  • Keep descriptions factual and specific to the item: who sought or gave what kind of advice about what subject, without disclosing the advice.
  • Export the All items sheet with the log; it lists every loaded item with its status, thread and duplicate flag and is the record that the counts reconcile.

What the page does not decide

It does not suggest a privilege, a status or a description. It does not judge whether an email to or from an attorney is legal advice, whether a third party's presence waives a claim, or whether a redaction is narrow enough. The attorney flag only matches names and addresses you typed.

Frequently asked questions

How are emails with the same subject but no thread headers treated?

With the fallback on, they join the first message with the same normalised subject. With it off, each is its own thread unless the headers link it. The example shows the difference: three threads without the fallback and two with it.

Can a log list a family on one row?

The item-by-item log gives each attachment its own row, marked as an attachment to its parent. For a family on a single row, use the categorical log by thread and describe the family once.

Which date does an email carry?

The calendar date written in the Date header, in that header's own offset. An email sent at 23:30 in New York is dated that evening even though its UTC time is already the next day.