2 min read

One Unsubscribe: format (draft 1)

A shared opt-out list that any sending tool can check without learning, or revealing, who it's about to email. It's a folder of static files, so it costs nothing to host and anyone can mirror it.

#Files

manifest.json
00.txt
01.txt
...
ff.txt

manifest.json:

{
  "format": "one-unsubscribe/1",
  "prefix": 2,
  "count": 1834,
  "updated": "2026-12-02T18:00:00Z"
}
FieldMeaning
formatAlways one-unsubscribe/1 for this version. A client ignores anything else.
prefixHow many hex characters name a bucket, 1 to 8.
countHow many addresses the list holds. Informational.
updatedWhen it was last written. Informational.

Each bucket <prefix>.txt holds one line per address: the lowercase hex SHA-256 of the address, minus its first prefix characters. A missing bucket (HTTP 404 or 410) is an empty one.

#The address

Trim spaces, lowercase the whole address, then take SHA-256 of its UTF-8 bytes. Nothing else is normalized: Jane.Doe+news@acme.com and janedoe@acme.com are different entries.

#Checking an address

  1. Read manifest.json (cache it for a day).
  2. Hash the address. Read the bucket named by the first prefix characters (cache it for a day, including a missing one).
  3. The address is listed if the rest of the hash is a line in that bucket.

A client must only fetch lists over HTTPS, or read them from a folder it trusts. If a list can't be read, the client may send as if the address isn't listed and must ask again next time. Plain HTTP lists are refused.

#What the list learns

A request for bucket 3f.txt says only that the address hashes to something starting with 3f, which about one in 256 of all addresses do. With prefix 2, a list of a million addresses has about 3,900 in each bucket. Shorter prefixes reveal less and send more bytes. Publishers should keep prefix at 2 until buckets grow past about 400 KB.

#Who goes on a list

Only people who asked not to be emailed: an unsubscribe, or a request to erase their data. Not bounces, not addresses a sender chose to avoid, not purchased suppression files. A SHA-256 of an email address is still personal data, so a list holds them only for the one purpose the person asked for, and says nothing else about them.

#Publishing

OpenLeads writes a list with openleads optout publish <folder>. Publishing to a folder that already holds a list merges the two, so several senders can share one. Any tool can write the same format.

#Open questions

  • A shared public list needs a way for a person to add themselves, confirmed from their own mailbox, without a central server learning who they are.
  • Should a list be able to say "this domain doesn't want cold email" as well as single addresses? outreach.txt covers that today.

Discussion: RFC #35.