{{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}}

๐Ÿ”’ Security Status

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 Blacklisted {{end}}
{{if .SenderRep}}
Sender Reputation:
{{.SenderRep}}
{{end}}

Note: The Envelope Sender is the real sender used for delivery (can differ from From). The From Domain is shown to the recipient. The Sending Server is the host/IP that sent the message. 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}}
{{if .PhishingRisk}}

๐Ÿ” Security Risk Assessment

Phishing Risk

{{.PhishingRisk}}

Spoofing Risk

{{.SpoofingRisk}}
{{end}}

๐Ÿ“ง 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 $index, $received := .Received}}
{{add $index 1}}

{{$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 .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}}

๐Ÿ“„ Export Options

{{end}}
{{end}} {{define "scripts"}} {{end}}