The header is a code that can be used to authenticate emails based on the data it contains.
Many mail recipients understand the header of the email as its subject line. This is only partially correct. In fact, the email header contains much more info connected with the emails transmission process — metadata.
Metadata includes data such as “from” and “to,” the type of content, the browser used to write the email, the delivery date, etc. We’ll touch on them below.
Take a look at the example below to get an idea of what your email header might look like.
Why do we need this metadata? Subscribers might not look into it, but email clients carefully analyze the data to shield their users from spam, phishing, and other dangers.
This is how the headers of the emails can be useful:
The delivery of your email is a key concern when it comes to successful campaigns. If you are looking to increase the likelihood of successful deliverability and email open rate, headers can be a valuable resource. This means that you should always check for any errors in the configuration before mailing anything important, and use testing tools if possible so as not to leave yourself without a chance of success.
An email header is an invaluable tool for understanding your emails. The following are only some examples from the standard fields in an incoming or outgoing message.
The sender’s name and email address.
The subject line of the letter as specified by the sender.
The date and time of when this mail was sent out.
The addresses of the person or company being targeted. If there are multiple recipients, the email header will include all names and addresses of those who receive the message.
Also known as Reply-To, the address of who will receive your reply.
A line similar to Reply-To, identifies that the email was sent to the recipient’s reply address.
This line displays the servers through which the email went before reaching the recipient’s mailbox. To read it in chronological order, read from the bottom (where the email was originally sent from) to top (the destination of the email or, in this case, your computer ).
This is a signature that verifies the authenticity of the sender. With DomainKeys Identified Mail, the domain is linked to the sender’s address. In this way, the sender is responsible for their mailings.
This is a message identifier code. It has a standard format and is a part of the email address.
Allows you to send attachments in various forms, for example, text, audio, visual content, and more.
Tells whether the email is in plain text or HTML format.
Tells you if the email is spam or not.
Displays the spam rating, normally generated by your service or email client.
The main part of the email, the content.
The tech data in the header can be long and difficult to understand. Mail clients don’t show all this information to the recipient without need. But it can easily be found in a few clicks.
In all Google apps (including Gmail), the steps required to view technical header data are the same.
Open the email whose header you want to view and look for the vertical dots on the right. Then select Show Original from the dropdown menu.
Here you can see the metadata:
Clicking on Download original, you get the code of the letter in EML file format, which from time to time is asked to send to developers. You can send it as an attachment.
Below you will see the code of the email, including the technical headers:
As with Gmail, click the dots, only in the proposed menu select View → View message source:
In this client, the algorithm is the same — click on the three dots, then → View raw message.
Open the message and find the View menu item. Choose the Message field. The headers can be viewed under the All Headers option.
To check the email message header in Mozilla Thunderbird, click the View menu. You can then select either Headers→All or the Message Source option.
In the MailSpring client, clicking on the chevron next to Reply will show you all of your message’s headers.
The email headers are an important part of every message that determines where it goes, who sent it, and more. Although this data is generally hidden from view, checking an email header will help you avoid phishing attacks by protecting yourself from malicious emails.
Understanding how headers work can be handy when troubleshooting email delivery issues, and tracking down spam emails. They may provide insight into its deliverability. Becoming familiar with these elements can help you launch successful campaigns whose results you can measure.