What Are Email Headers?
Email headers contain metadata about a message: who sent it, what servers it passed through, authentication results, and more. They are essential for debugging delivery issues.
Key Headers
| Header | Purpose |
|---|---|
From | Display sender address |
To | Recipient address |
Subject | Message subject |
Date | When the message was sent |
Message-ID | Unique identifier for the message |
Received | Each server that handled the message (bottom to top) |
Return-Path | Bounce address (envelope sender) |
Authentication-Results | SPF, DKIM, DMARC verification results |
Reading Received Headers
Each Received header is added by a server that handled the message. Read from bottom (first server) to top (last server):
Received: from mail.example.com (198.48.63.241)
by mx.google.com with ESMTPS
for <user@gmail.com>
Tue, 25 Feb 2026 10:30:00 -0600Authentication Results
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of sender@example.com designates 198.48.63.241 as permitted sender);
dkim=pass header.d=example.com;
dmarc=pass (p=REJECT)All three should show pass for reliable delivery.
View Headers in Gmail
- Open the email
- Click the three dots → Show original
- Use Google's header analyzer to visualize the path
Common Issues in Headers
spf=fail— sending IP not in SPF recorddkim=fail— DKIM signature invalid or missingdmarc=fail— message failed both SPF and DKIM alignment- Long delays between
Receivedtimestamps — a server was slow