How email works
Email is the oldest thing most people use every day, and the only major internet service still running on a design set out in 1982. This opens one up: what a message is actually made of, how a photograph gets squeezed through a pipe built for English text, what the servers say to each other on the way, and who vouches that the sender is who the letterhead claims. It ends where the Email Header Forensics Lab begins, so you can take a real message apart yourself.
The oldest thing you use every day
Email gets called legacy technology. It is certainly old, which is not the same thing. It is the last widely used internet service that nobody owns, where a message you send can be received by someone using entirely different software on an entirely different network, without either of you asking anyone's permission. That property is the reason it survived, and it is a direct consequence of how carefully it was specified.
1971, two computers in the same room
The famous detail is what the first message said. It is usually given as QWERTYUIOP. Tomlinson never confirmed it; asked repeatedly, he said the test messages were "entirely forgettable and I have, therefore, forgotten them". The two machines were sitting next to each other. Internet Hall of Fame official biography; NPR obituary coverage, 6 and 7 March 2016.
Getting everyone to agree, 1973 to 1982
How old is the newest part of your inbox?
Open any message and look at the field that decides where your reply goes. It is the field the forensics lab teaches you to check first, because when it does not match the sender you are usually looking at a scam. When was it specified, and how much has it changed since?
Anatomy of a message
The words you typed are the smallest part of an email. Above them sits a block of labelled lines, added partly by your software and partly by every server the message passes through, and almost everything worth knowing about a message is in there.
Click any line
There are two "from" addresses
Why the gap is allowed to exist
The two identities have formal names you will meet in real bounce messages and in Microsoft's error text: 5321.MailFrom for the envelope, 5322.From for the letterhead, named after the two standards. Module 05 is about the machinery built to make them agree.
First, though: how does a photograph fit inside something built for English text?
Breaking it up, putting it back
The instinct is right and the mechanism is real; it is filed on the wrong floor. Packets exist, and they matter, but they belong to the network underneath and the message never meets them. There is a genuine break-it-up-and-put-it-back-together inside an email, and it is the more interesting one.
Four floors, each ignorant of the one above
The break-up that does happen inside an email
Type something. Watch it get bigger.
Base64 takes three bytes at a time and rewrites them as four characters drawn from a safe alphabet of letters, digits, plus and slash. Four out for every three in, so the content grows by a third; email then breaks the result into lines of no more than 76 characters, and each line ending adds a couple more bytes. The working rule is that an attachment travels about 37 per cent larger than the file on your disk, which is why a 20 megabyte limit will not carry a 16 megabyte video.
Two reassemblies, in two different places
The standard for TCP is explicit that it "guarantees no correlation between the boundaries of TCP segments sent and received and the boundaries of the read or write buffers", which is a formal way of saying that packet edges cannot possibly be carrying email structure. RFC 9293, 2022.
So the message is packed. Now watch it travel.
The journey
Press the button and follow one message from the send button to the inbox. Eight steps, no magic, and a short conversation in plain text that you could type by hand if you wanted to.
Follow one message
Read the trail from the bottom up
Every server that touches a message stamps a Received: line at the top of the headers. So the list grows downwards in age: the last line is the first hop, and the first line was added by the machine that just delivered it to you.
Trust decays as you read downwards, and the boundary is wherever a system you control first touched the message. RFC 5321 requires each accepting server to insert its trace record "at the top of the mail data", which is why the order comes out reversed.
What happens in step five, in order
For scale: Google says Gmail's filtering stops more than 99.9 per cent of spam, phishing and malware, and blocks close to 15 billion unwanted messages a day. Kaspersky's telemetry put spam at just under 45 per cent of all email sent in 2025. Nearly half of everything sent is junk, and you almost never see it; that invisible sorting is what the next module explains.
Which brings us to the question the whole system now turns on.
Who says you are you
For twenty-five years anyone could type anything into the From line, and mostly still can; it is a claim, not a proof. Three mechanisms were bolted on to close that gap. They are the reason your mail gets delivered, the reason it sometimes does not, and the whole substance of reading a message header.
Three questions, asked in order
A message where SPF passes and DMARC still fails
This is the most common real-world result, and it confuses almost everybody the first time. The connecting server was on the approved list. The check came back green. The message was still rejected. Why?
The three years authentication stopped being optional
Having a DMARC record is not the same as being protected. An adoption survey of the top 1.8 million domains in April 2026 found around 52 per cent with a record, but fewer than half of those set to actually act on failures. A policy of p=none is a smoke detector with the battery out; it watches and reports, and does nothing. Figures from EasyDMARC, a vendor in this market, so read them with that in mind.
Why this matters
Sources used. History: Internet Hall of Fame official biography of Raymond Tomlinson; NPR obituary coverage, 6 and 7 March 2016, for his own account of the first message. Standards: RFC 561, 5 September 1973; RFC 733, 21 November 1977; RFC 821 (Postel) and RFC 822 (Crocker), both August 1982; RFC 5321 (Klensin) and RFC 5322 (Resnick), both October 2008; RFC 1341 (June 1992) and RFC 2045 to 2049 (November 1996) for MIME; RFC 4648, October 2006, for the Base64 ratio; RFC 1939 for POP3 and RFC 9051 for IMAP; RFC 3207 for STARTTLS; RFC 9293, 2022, for TCP segmentation; RFC 8601 for the Authentication-Results header; RFC 6648, June 2012, which deprecated the X- prefix that vendor headers still use everywhere. Authentication: RFC 7208 (SPF), RFC 6376 (DKIM), and RFC 9989 with RFC 9990 and RFC 9991 (DMARC, 19 May 2026, obsoleting RFC 7489); BIMI remains an Internet-Draft with no RFC. Sender requirements: Google, "Gmail introduces new requirements to fight spam", 3 October 2023, and Google's email sender guidelines and FAQ, accessed 8 August 2026; Yahoo sender best practices, accessed 8 August 2026; Microsoft's Outlook high-volume sender requirements and the 550 5.7.515 error documentation, announced 30 April 2025. Volume and spam: Google's 15 billion figure, 3 October 2023; Kaspersky Securelist spam and phishing report for 2025, published 11 February 2026, which measured 44.99 per cent from its own telemetry rather than a census. Adoption: EasyDMARC 2026 DMARC adoption report, 10 April 2026, a vendor figure. Deliberately not claimed here: that the first email said QWERTYUIOP, which Tomlinson never confirmed, and any global daily email volume, because the widely quoted figures come from a paid market-research estimate and cannot be independently checked.