An email has two parts – the body (the part that displays the message) and the header. Many people think of the email header as the place where you can see the subject line, the recipient, and the sender.
They are not wrong – but the above information is just the surface. In fact, email headers contain much more information related to email transmission, all this information is collectively known as metadata. So, to put it simply, the email header is the part that contains the metadata of the email.
Metadata contains a lot of information, including: “from” and “to”, the content type, the browser used to write the email, the date it was sent, and more.
What is email metadata? Let's find out
If you want to know more details about the email you receive or send, viewing the metadata is the easiest way. But keep in mind, metadata can still be tampered with.
That's right, almost every line (especially the "from" line of seeing where the message came from) can be spoofed – except Received. Therefore, to check the authenticity of emails, people will look at many different metrics.
Received is the stream your computer generates, so it's correct. The mail header can have multiple Received lines – these lines show you the servers your email travels to until it reaches its final destination.
Here is a list of all the information that the header metadata contains:
From – this is a line that can be faked easily. It contains information about where the message was sent.
To – where to receive the email (but not necessarily the recipient's email address).
Subject – see as the subject or subject that the sender puts on their email.
Date – the date and time the email was written.
Return-Path – also known as Reply-To. When you click the Reply button, you will reply to the email address specified here.
Envelope-To – shows email sent to the address on this line.
Delivery Date – this is the time when the email client receives the email.
Received – this line shows the servers the email went through to reach the recipient's mailbox. To read it over time, you have to read from the bottom (where the email was originally sent) to the top (the final destination of the email, or in this case, your computer).
DKIM signature and Domain Key signature – DKIM stands for Domain Key Identified Mail. Along with the digital signature of the mailing domain, both are part of the email signature recognition system.
Message-ID – it combines unique letters and numbers created when the email was first written (can also be forged).
Mime-version – MIME is the internet standard, to extend the format and functionality of email. You can attach videos, images, and other files with MIME.
Content-type – tells you whether the email is written in plain text or HTML.
X-Spam status – tells you the score of the email. If it exceeds the threshold, the email will be considered spam
X-Spam level – its level depends on the score of the email's x-spam status. For each score achieved, the x-spam level will show an asterisk.
Message body – this is the main body of the email – the actual message you send.
Hope that helps!