Glossary · Email basics
What is an email header?
The short answer
An email header is the hidden part of every email that records the facts about it: who sent it, who it was for, when it was sent, which mail servers it passed through and whether it passed the security checks. You normally see only a few lines of the email header, such as From, To and Subject.
Also called: email headers, message header, full headers, internet headers
By Ali Tahir Sajjad · Updated · 4 min read
Email header: what to remember
- Every email has two parts: the email header (the facts about the email) and the body (the message you read).
- Most of the email header is hidden. You can open it in Gmail with Show original.
- The email header shows whether SPF, DKIM and DMARC passed, which is the fastest way to check your setup.
- Reading the email header of a bounced or spam-foldered email usually tells you what went wrong.
What does email header mean?
Every email has two parts.
- The body is the message you read.
- The email header is everything else: the facts about the email.
Think of a parcel. The thing inside the box is the body. The label on the outside is the header. The label shows who sent the parcel, who it is for, when it was posted and the stamps from each sorting centre it passed through.
You already see a small part of the email header every day: the From, To, Subject and Date lines. The rest is hidden, because most people never need it. But it is always there, and you can open it whenever you want.
What is in an email header?
These are the lines of an email header you will see most often.
| Header line | What it tells you |
|---|---|
| From | Who the email says it is from |
| To | Who it was sent to |
| Subject | The subject line |
| Date | When it was sent |
| Message-ID | A unique ID for this one email |
| Return-Path | The address a bounce is sent back to |
| Received | One line for each mail server the email passed through |
| DKIM-Signature | The sender’s digital signature, including the DKIM selector |
| Authentication-Results | The result of email authentication: whether SPF, DKIM and DMARC passed or failed |
| List-Unsubscribe | A link or address that mail apps use for their unsubscribe button |
An email header example
Here is a short, simplified email header.
From: Daniel Reed <daniel@example.net>
To: maria@example.org
Subject: Missed appointments at Bright Smile Dental
Date: Mon, 16 Nov 2026 09:14:02 -0500
Message-ID: <a81f3c2e@example.net>
Return-Path: <daniel@example.net>
Received: from mail-sor-f41.google.com by mx.example.org
Authentication-Results: mx.example.org;
spf=pass dkim=pass dmarc=pass
In plain words, this email header says: Daniel sent an email to Maria on 16 November. It left through one of Google’s servers. Maria’s mail server checked it, and SPF, DKIM and DMARC all passed.
How to view an email header
- Gmail: open the email, click the three dots at the top right, then Show original.
- Outlook on the web: open the email, click the three dots, then View, then View message details.
- Outlook desktop app: open the email in its own window, then File, then Properties. The email header is in the Internet headers box.
- Apple Mail: open the email, then View, Message, All Headers.
How to read an email header
A full email header can be long, but you only need three things.
1. Look at Authentication-Results first. You want to see spf=pass, dkim=pass and dmarc=pass. If any of them says fail, that is your problem to fix. Our guide to setting up SPF, DKIM and DMARC shows how.
2. Read the Received lines from the bottom up. The bottom Received line is where the email started. The top one is where it arrived. Each line is one stop on the journey.
3. Compare From and Return-Path. If they use completely different domains, the email may be forged, or the sender’s setup needs work.
Why email headers matter for cold email
For anyone sending cold email, the email header is the best free testing tool there is.
- To check a new inbox. Send one email to your own Gmail address, open the email header, and confirm SPF, DKIM and DMARC all say pass before you send to real people.
- To see why an email went to spam. The header often contains the reason, or at least shows which check failed.
- To understand a bounce. When you get a hard bounce or a soft bounce, the bounce message’s header shows which mail server refused the email and the error it gave.
- To see what your tool adds. Some sending tools add their own lines to the email header. It is good to know what the recipient’s mail server can see.
If the three checks do not pass, the records in your DNS need fixing. With PureMail, our team writes those records for every domain when your Google Workspace inboxes or Microsoft 365 inboxes are set up, so a new inbox should show three passes on its very first test email.
Common email header mistakes
- Trusting the From line. It is the easiest part of an email header to fake. Trust the Authentication-Results instead.
- Reading the Received lines from the top. They are in reverse order. Start at the bottom.
- Only testing with one provider. An email that passes at Gmail can still have a problem at Outlook. Test both.
- Ignoring a “softfail” or “neutral”. These are not passes. They mean your SPF record does not fully cover the server that sent the email.