
Except you've probably just shared your customer's email address, your internal server names, tracking tokens and maybe the subject line of a confidential message.
Learning how to read email headers properly gives you two superpowers. First, you can diagnose most authentication problems yourself in a few minutes. Second, you can share exactly the lines someone needs and nothing more.
This guide shows you where to find headers in Gmail and Outlook, which handful of lines actually matter, how to read the route from top to bottom, and how to make a safe, redacted copy that still answers the question.
A Header Is Evidence, Not a Diagnostic Code to Post Online
Headers are structured notes added by senders and every server an email passes through. They can contain:
- The visible From address
- The return path (where bounces go)
- DKIM signatures
- Message IDs
- Timestamps
- Every server hop
- Authentication results from the receiver
Think of a header like an incident report. Keep a private, untouched original so nothing gets lost. Work from a redacted copy.
Two opposite mistakes are both common:
- Sharing the whole thing publicly (leaks private data)
- Redacting so heavily before analysis that you destroy the relationships you need to trace
There's also a trust issue. RFC 8601, which defines the Authentication-Results field, explains that results only have meaning within the system that produced them. A line saying "pass" that came from an untrusted sender isn't proof just because it has an official-looking name.
So always start with the copy from the receiving mailbox you control.
How to Find the Full Header in Gmail and Outlook
Gmail
- Open the message
- Click the three dots beside Reply
- Choose "Show original"
- Use "Copy to clipboard" if you need the full text
Google's guide to tracing an email with its full header explains this.
Outlook
The exact steps vary between Outlook on the web, the desktop app and the new Outlook. Look for options like "View message details", "View message source" or "Properties" (where "Internet headers" appears). Microsoft's support page on viewing internet message headers has the current steps for each version.
Use the received copy, not the sent one
Always get the header from the receiving mailbox. The version in your Sent folder doesn't include the fields added during transport, or the receiver's verdict.
Save it as plain text in a restricted folder, noting which mailbox it came from, the UTC time you collected it and why.
If the email never arrived
Get the full bounce message or delivery event instead. Ask your sending provider for the envelope sender, connecting IP, signing domain, selector and receiver response.
And if you can't legitimately access the mailbox, stop. Ask the mailbox owner or an authorised admin to collect it. Don't ask for someone's password or remote access to their computer.
For bounces specifically, see bounce code troubleshooting.
The Only Five Lines Most People Need
Headers can run to hundreds of lines. For authentication problems, you usually need just these:
- From: what the reader sees
- Return-Path: the envelope sender, usually what SPF checked
- DKIM-Signature: especially the d= (signing domain) and s= (selector) values
- Authentication-Results: the receiver's verdicts on SPF, DKIM and DMARC
- Received: the hops the message took
Everything starting with X- is usually vendor-specific extra information. Occasionally useful, often noise.
An Annotated Example
Here's a fictional, simplified header with notes:
Received: from mail.sender.example (203.0.113.5) <- newest hop (top)
by mx.receiver.example; Mon, 15 Sep 2026 09:14:02 +0000
Authentication-Results: mx.receiver.example; <- your receiver's verdict
spf=pass smtp.mailfrom=bounce.yourbusiness.co.uk;
dkim=pass header.d=yourbusiness.co.uk;
dmarc=pass header.from=yourbusiness.co.uk
Return-Path: <bounce@bounce.yourbusiness.co.uk> <- envelope sender
DKIM-Signature: v=1; a=rsa-sha256; d=yourbusiness.co.uk; <- signing domain
s=mail2026; h=from:to:subject:date; ... <- selector
From: Accounts <accounts@yourbusiness.co.uk> <- what the reader sees
Received: from app-server.internal (10.0.0.12) <- older hop (lower)
by mail.sender.example; Mon, 15 Sep 2026 09:14:01 +0000Reading it:
- SPF passed for bounce.yourbusiness.co.uk, which aligns (relaxed) with the From domain
- DKIM passed for yourbusiness.co.uk, which matches the From domain exactly
- DMARC passed
Make a Working Copy With Consistent Placeholders
Duplicate the private original. In the working copy:
- Replace personal addresses with consistent labels like sender-address-A and recipient-address-B
- Keep domains only where they're needed to check alignment (and note that decision)
- Replace unrelated message IDs, IP addresses, internal hostnames and tracking tokens with stable placeholders
The word "stable" is important. If the same internal host appears in three Received lines, give it the same label every time, like internal-host-1. That keeps the route readable without revealing the actual name.
Remove the body, attachment names, subject and quoted conversation unless the problem is specifically about content being modified.
Keep a mapping from placeholders to real values only in the restricted folder. Never put it next to a public ticket.
Read the Route From the Top Down (and Why That's Backwards in Time)
Received lines are added by each server as the message travels. Each new one goes on top. So reading from the top down usually takes you backwards in time, from the final mailbox towards the original sender.
Start at the top line added by your own receiving service. Note its timestamp. Then work down until you reach the earliest believable hand-off.
A few cautions:
- Don't assume the bottom line is true. Lines added before the message reached a trusted provider can be invented.
- Look for continuity. The "from" host in one hop should make sense alongside the "by" host in the hop below it.
- Timestamps should progress sensibly, though clock differences and queue delays happen. Note odd gaps rather than "correcting" them.
Find the boundary where mail entered the receiver's or your organisation's systems. Authentication results produced there carry more weight than similar-looking lines further down. RFC 8601 discusses this trust boundary.
If you see gateways or forwarding services you don't recognise, check your mail-flow documentation before assuming anything sinister. They may be your own security filter.
To map each route against its owner, the sender inventory template helps.
Separate the Identities That Look Like One Sender
Copy these onto separate lines:
- The visible From domain
- The Return-Path domain
- Each DKIM d= domain (and the s= selector if troubleshooting a key)
They can differ completely legitimately. The visible author, the bounce-handling domain and the signing service each have different jobs.
Don't assume the envelope sender matches the From address. A marketing platform might use its own return path while signing with your domain. A forwarder might change the route without touching the From address.
Then write each authentication result next to the exact identity it checked. Keep the labels: header.d, smtp.mailfrom, header.from. "SPF pass" means very little without knowing which domain passed.
This little table stops two mistakes at once: sharing the whole header just to show three values, and treating every domain in the message as interchangeable.
The email authentication glossary defines each field if you need it.
Read Authentication Results Inside Their Trust Boundary
Find the Authentication-Results line from your receiving service. It starts with an identifier for the checking service, then lists methods and results. RFC 8601 standardises this format.
Record results exactly:
- Don't turn "none" into "fail". None can mean the check wasn't present or wasn't run.
- Keep the reason text. A missing DKIM key is very different from a body hash mismatch. An SPF permanent error is different from an unauthorised IP.
You might see several Authentication-Results lines. A gateway, a forwarder and the final mailbox might each have checked the message. Compare their identifiers and positions in the route. The difference between what the gateway saw and what the final mailbox saw might be exactly the cause of your problem.
And remember the bigger picture. Authentication results describe one message on one route. A message can pass authentication and still be filtered to spam. The header gives you the mechanism; the folder it landed in is a separate fact.
How DMARC ties SPF and DKIM to your From domain explains what these results mean for your policy.
A Worked Example: The Spam Copy vs the Inbox Copy
Here's one of the most useful tricks in email troubleshooting: compare the header of an email that landed in spam with one from the same sender that landed in the inbox.
Imagine a fictional bakery's newsletter. One subscriber reports it in spam. Another sees it in their inbox. Both are Gmail users. You get both headers.
INBOX COPY
spf=pass smtp.mailfrom=bounce.news.bakery.co.uk
dkim=pass header.d=news.bakery.co.uk
dmarc=pass header.from=news.bakery.co.uk
SPAM COPY
spf=pass smtp.mailfrom=bounce.news.bakery.co.uk
dkim=pass header.d=news.bakery.co.uk
dmarc=pass header.from=news.bakery.co.ukIdentical authentication. So the difference isn't SPF, DKIM or DMARC.
That's a genuinely useful finding. It tells you to stop editing DNS and look elsewhere: that subscriber's history with your emails, whether they've marked you as spam before, their personal filters, or wider reputation signals.
Now imagine the spam copy showed dkim=fail with a body hash error, while the inbox copy passed. That points at something changing the message on its way to that one subscriber, perhaps a forwarding rule or a company gateway. Completely different investigation.
The comparison does the diagnosis for you.
Four Header Myths Worth Unlearning
- "The bottom Received line shows the real sender." Not necessarily. Lines added before the message entered a trusted system can be forged.
- "If there's a DKIM-Signature, DKIM passed." No. The signature exists. Only the receiver's verdict says whether it verified.
- "SPF pass means the From address is genuine." No. SPF checks the envelope sender, which can be a completely different domain.
- "X- headers are spam scores I can trust." Some are vendor scores, some are tracking data. They mean different things to different systems, and they aren't standard.
Turn the Header Into a Controlled Test
Write a short route record:
- Sending feature
- Visible From domain
- Return-path domain
- DKIM signer and selector
- Receiver
- Collection time
- Result field
- Trusted hand-off labels
Separate what you observed from what you're inferring. A header identifies systems and asserted fields. It doesn't identify the human who pressed send.
Pick one hypothesis. For example:
- A supplier is signing with an unrelated domain
- A gateway is changing signed content
- A different application is sending from an unauthorised IP
Make one owned, reversible fix. Then send a plain, harmless test through the same feature to a mailbox you control. Collect the new header the same way.
Compare the same fields, not just whether it reached the inbox. Real verification means the intended identity now passes, the route is the expected one and the business function still works.
What to Send Support (and What to Keep Back)
A useful extract for a supplier contains:
- The incident time and time zone
- The message or event reference
- The From domain (redacted if needed)
- The receiver
- The trusted Authentication-Results lines
- The required d= and s= values
- The few Received lines that cross the supplier's boundary
Explain your placeholders. Leave out unrelated recipients, the body, tokens and your full internal route.
After the issue is resolved, keep the private original only as long as your policies require. Delete convenience copies from downloads folders, chat threads and desktops. If the message relates to HR, health, legal or customer matters, involve the right governance person before sharing it outside the organisation.
When to Stop and Escalate
Escalate if:
- You can't tell which Authentication-Results line your receiver added
- Headers contradict provider logs
- A compromise might be involved
- Redaction would remove the evidence a specialist needs
Keep the original untouched and ask your mail administrator or incident lead to review it under controlled access.
A header has done its job when it narrows down the route, identity and result enough to support one testable change. It isn't safe just because it looks technical, and it isn't proof just because a line says pass.
Quick Reference: What Each Key Field Tells You
Field What it tells you
From The address the reader sees (DMARC's reference domain)
Return-Path The envelope sender (usually what SPF checked)
Reply-To Where replies go (doesn't affect authentication)
DKIM-Signature d= The domain that signed the message
DKIM-Signature s= The selector used to find the public key
Authentication-Results The receiver's SPF, DKIM and DMARC verdicts
Received Each server hop, newest at the top
Message-ID A unique ID useful for finding the event in logs
ARC-* fields Authentication evidence sealed by intermediariesKeep this handy. With these nine fields, you can diagnose most authentication problems without reading anything else.
Tools That Help Without Leaking Data
You don't need a fancy tool to read headers. A plain text editor and its search function (look for "Authentication-Results" or "DKIM-Signature") handle most jobs.
If you'd like a clearer layout, Google's Admin Toolbox includes a message header analyser that Google documents in its guide to tracing emails. Whatever you use, check where your pasted text goes, strip personal details first and avoid tools that ask you to sign in with your email account.
Frequently Asked Questions
Where are email headers in Gmail?
Open the email, click the three dots next to Reply and choose "Show original".
How do I see internet headers in Outlook?
It depends on your version. Look for "View message details", "View message source" or the message Properties window. Microsoft's support page lists the steps for each version.
Which header line shows if an email passed SPF, DKIM and DMARC?
The Authentication-Results line added by your receiving mail server.
Is it safe to paste headers into an online analyser?
Only after checking its privacy terms and redacting personal and internal details. Reading locally is safer.
Why are there multiple Received lines?
Each server the email passes through adds one. Read from the top down to follow the route backwards in time.
What's the difference between Return-Path and Reply-To?
Return-Path is where bounces go (and usually what SPF checks). Reply-To is where a human's reply goes. They serve completely different jobs.
Sources and further reading
- Google: Trace an email with its full header
- Microsoft: View internet message headers in Outlook
- RFC 8601: Message Header Field for Indicating Message Authentication Status