{{template "base.html" .}} {{define "title"}}Email Header Analyzer{{end}} {{define "head"}} {{end}} {{define "content"}}

Email Header Analyzer

{{if not .From}}

{{end}} {{if .From}}

Sender Identification

Envelope Sender (Return-Path): {{.EnvelopeSender}}

From Domain: {{.FromDomain}}

Sending Server: {{.SendingServer}}

SPF {{if .SPFPass}}✓{{else}}✗{{end}} DMARC {{if .DMARCPass}}✓{{else}}✗{{end}} DKIM {{if .DKIMPass}}✓{{else}}✗{{end}} Encrypted {{if .Encrypted}}✓{{else}}✗{{end}} {{if .Blacklists}} Blacklisted {{len .Blacklists}} times {{else}} Not listed on major blacklists {{end}}
{{if .SenderRep}}
Sender Reputation:
{{.SenderRep}}
{{end}}
Envelope Sender is the real sender used for delivery (can differ from From).
From Domain is the domain shown to the recipient.
Sending Server is the host or IP that actually sent the message (from first Received header).
If these differ, the message may be sent on behalf of another user or via a third-party service.
All Email Headers Table
{{range $k, $v := .AllHeaders}} {{end}}
Header Name Value
{{$k}} {{$v}}

Basic Information

From: {{.From}}

To: {{.To}}

Subject: {{.Subject}}

Date: {{.Date}}

{{if .ReplyTo}}

Reply-To: {{.ReplyTo}}

{{end}}

Message-ID: {{.MessageID}}

Priority: {{.Priority}}

Content Type: {{.ContentType}}

Encoding: {{.Encoding}}

Mail Flow

    {{range .Received}}
  • {{.}}
  • {{end}}
{{if ne .DeliveryDelay "Insufficient data for delay analysis"}}

Delivery Analysis

Delivery Timing: {{.DeliveryDelay}}

{{if .GeoLocation}}

Geographic Info: {{.GeoLocation}}

{{end}}
{{end}}

Security Analysis

SPF Authentication

{{if .SPFPass}}✓ Passed{{else}}✗ Failed{{end}}

{{.SPFDetails}}

{{if .SPFRecord}}
{{.SPFRecord}}
{{end}} {{if .SPFHeader}}
Show SPF Header
{{.SPFHeader}}
{{end}}

DMARC Policy

{{if .DMARCPass}}✓ Passed{{else}}✗ Failed{{end}}

{{.DMARCDetails}}

{{if .DMARCRecord}}
{{.DMARCRecord}}
{{end}} {{if .DMARCHeader}}
Show DMARC Header
{{.DMARCHeader}}
{{end}}

DKIM Signature

{{if .DKIMPass}}✓ Present{{else}}✗ Missing{{end}}

{{.DKIMDetails}}

{{if .DKIM}}
Show DKIM Header
{{.DKIM}}
{{else if .DKIMHeader}}
Show DKIM Header
{{.DKIMHeader}}
{{end}}

Encryption

{{if .Encrypted}}Encrypted (TLS){{else}}Not Encrypted{{end}}
Show Encryption Details
{{.EncryptionDetail}}
{{if .Warnings}}

Warnings

    {{range .Warnings}}
  • ⚠️ {{.}}
  • {{end}}
{{end}} {{if .SecurityFlags}}

Security Flags

    {{range .SecurityFlags}}
  • 🔒 {{.}}
  • {{end}}
{{end}} {{if .Blacklists}}

Blacklist Status

Checked: {{if .SendingServer}}IP {{.SendingServer}}{{else if .FromDomain}}Domain {{.FromDomain}}{{end}}
⚠️ Listed on the following blacklists:
    {{range .Blacklists}}
  • {{.}}
  • {{end}}
{{end}} {{if .SpamFlags}}

Spam Analysis

{{if gt (len .SpamFlags) 0}}⚠️ Spam Indicators Found{{else}}✓ No Spam Indicators{{end}}
{{if .SpamScore}}

Spam Score: {{.SpamScore}}

{{end}} {{if .SpamFlags}}
    {{range .SpamFlags}}
  • {{.}}
  • {{end}}
{{end}}
{{end}} {{if ne .VirusInfo "No virus scanning information found"}}

Virus Scanning

🛡️ Virus Scanning Information

{{.VirusInfo}}

{{end}} {{if .PhishingRisk}}

Security Risk Assessment

Phishing Risk

{{.PhishingRisk}}

Spoofing Risk

{{.SpoofingRisk}}
{{end}} {{if .ListInfo}}

Mailing List Information

    {{range .ListInfo}}
  • {{.}}
  • {{end}}
{{if .AutoReply}}

📧 Auto-reply message detected

{{end}} {{if .BulkEmail}}

📬 Bulk/marketing email detected

{{end}}
{{end}} {{if .Compliance}}

Compliance Information

    {{range .Compliance}}
  • ✓ {{.}}
  • {{end}}
{{end}} {{if .ARC}}

ARC (Authenticated Received Chain)

Show ARC Headers
    {{range .ARC}}
  • {{.}}
  • {{end}}
{{end}} {{if ne .BIMI "No BIMI record found"}}

Brand Indicators (BIMI)

{{.BIMI}}

{{end}} {{if .Attachments}}

Attachment Information

    {{range .Attachments}}
  • {{.}}
  • {{end}}
{{end}} {{if .URLs}}

URL Information

    {{range .URLs}}
  • {{.}}
  • {{end}}
{{end}} {{if ne .ThreadInfo "No threading information available"}}

Message Threading

Show Threading Information
{{.ThreadInfo}}
{{end}}
{{end}}
{{end}} {{define "scripts"}} {{end}}