Course ยท Lesson 4 of 7
How email travels
First, follow an email from Anna to her customer. Then learn how the recipient checks the sender. The second simulation shows those checks along the way.
After this lesson, you can
- describe an email's journey from mail app to inbox
- explain what an MX record does
- tell SMTP, IMAP and POP apart and explain why IMAP is usually preferred
- explain what SPF, DKIM and DMARC check along the way
An email address has two parts. Everything after @ is the domain, whose MX record is looked up. Everything before it is the mailbox name or an alias: an extra address that forwards email.
A client's email is often hosted by a different company from their website: Google Workspace, Microsoft 365 or a separate email provider. Always check this before changing DNS.
| Abbreviation | Purpose |
|---|---|
| SMTP | Sending email from app to server and from server to server |
| IMAP | Keeping email and folders on the server so your devices use the same mailbox |
| POP (POP3) | Downloading incoming email to your device without synchronising folders and read status |
| MX | The DNS record that says where to deliver email for a domain |
First, the route: from Anna to her customer
Start by seeing how email reaches the right destination. We will leave out sender checks for now and add them later.
Reading email: IMAP or POP?
The email has arrived at the server. How does the customer get it into their mail app? Two protocols handle this: IMAP and POP. Both use SMTP for sending.
IMAP: one mailbox across your devices
With IMAP, messages and folders stay on the mail server. Your app synchronises them with the server. Read a message on your phone, and it appears as read on your laptop once it connects. Moving or deleting a message is synchronised too.
POP: downloading messages to your device
POP, usually called POP3, downloads incoming messages to your device. Depending on your settings, it then removes them from the server or leaves a copy there. POP does not synchronise folders, sent messages or read status between devices.
Why do we usually choose IMAP?
Your client often uses both a phone and a laptop. IMAP keeps them in sync. With POP, a message can be marked as read on the laptop but still appear unread on the phone. If the laptop removes it from the server, the phone cannot download it later.
Usually, choose IMAP when you want email on multiple devices. POP may suit someone who deliberately uses one device and stores email locally. In that case, back up the local email.
How does the recipient check the sender?
Knowing the route is not enough. Someone could send an email using Anna's address. Email providers use three checks to help detect this. The information comes from DNS.
SPF: may this server send email?
SPF lists authorised sending servers. The recipient checks whether the server delivering the email is on that list. It uses the domain for delivery errors, which may differ from the sender address you see in your mail app.
DKIM: is the digital signature valid?
The sending provider adds a digital signature to the message. The recipient retrieves a public key from DNS to verify it. This reveals whether the signed parts of the email changed in transit.
DMARC: does the check match the visible sender?
DMARC connects SPF and DKIM to the sender address you see. At least one check must pass and align with that sender domain. If neither does, the domain's DMARC policy tells the recipient what it requests: no extra action, quarantine or rejection.
Passing these checks does not guarantee an inbox placement. The recipient also checks for spam and considers the sender's reputation: how trustworthy their previous activity has been.
The same email, now with sender checks
Follow Anna's email again. This time, see when the signature is added and how the recipient checks SPF, DKIM and DMARC. The sequence is simplified; servers can run checks in a different order and cache DNS answers.
In lesson 5, you will learn which DNS records are needed and practise entering them.
What to remember
- SMTP sends email. IMAP synchronises messages, folders and read status across devices. POP downloads email without keeping those details in sync, which is why IMAP is usually preferred.
- The MX record for the domain after @ determines where email is delivered.
- SPF checks the sending server. DKIM checks the digital signature. DMARC links a successful check to the visible sender.
- Even if all checks pass, a spam filter may still block the email.
Sources and further reading
Based on the Dutch course reviewed on 25 November 2026. These sources are in English.