Sending an email feels instant. You type a message, hit send, and within seconds it appears in someone’s inbox, whether they are sitting in the next room or thousands of kilometres away. But behind that single click lies a carefully organised relay system of protocols, servers, and software agents, each doing one specific job. Understanding how this machinery fits together helps explain why email is so reliable, why it sometimes lands in spam, and why your messages stay synced across your phone and laptop. Let us open the hood and look at exactly how email systems function.
Table of Contents
- The journey of an email from sender to recipient
- Email protocols: the rules that move your messages
- SMTP: the protocol that sends
- POP3: download and store locally
- IMAP: keep everything in sync
- HTTP: email through your browser
- The delivery agents working behind the scenes
- Mail user agent and mail submission agent
- Mail transfer agent: the routing engine
- Mail delivery agent: the final handoff
- Access clients: the apps you actually use
- Setting up an email account
- Folder management: keeping your inbox organised
The journey of an email from sender to recipient
Before getting into individual components, it helps to see the full path a message takes. When you write a mail and click send, your email application hands the message to a sending server. That server figures out where the recipient’s mail server is located, transfers the message across the internet, and the recipient’s server then stores it until the person logs in to read it.
A common comparison is the postal system. Email protocols work much like the physical mail we receive in a post box: there is a system to collect and forward your letter, a sorting centre to route it, and a final delivery to your address. The difference is that email completes this entire cycle in seconds. Each stage is governed by a protocol, which is simply an agreed set of rules that lets different systems communicate correctly.
Email protocols: the rules that move your messages
Three core protocols handle the bulk of email traffic, and a fourth comes into play when you use a browser. Each has a distinct role, so they are best understood by what they actually do.
SMTP: the protocol that sends
Simple Mail Transfer Protocol (SMTP) is responsible for sending mail. It is a “push” protocol, meaning it pushes a message outward from your client to a server, and then from one server to another, until it reaches the recipient’s mail server. As an established explanation puts it, SMTP handles email sending while POP3 and IMAP manage retrieval and storage. One important point: SMTP only sends. You cannot use it to check your inbox. SMTP typically uses port 587 for secure submission with TLS encryption, while port 465 works over an implicit SSL connection.
POP3: download and store locally
Post Office Protocol version 3 (POP3) retrieves incoming mail by downloading it from the server to a single device, and by default it then removes the message from the server. This makes POP3 a good fit when you read mail from one device and want offline access without using server storage. The trade-off is clear: POP3 lacks synchronisation across multiple devices, and there is a risk of data loss if local storage is damaged. POP3 uses port 110 for unencrypted connections and port 995 for secure SSL/TLS connections.
IMAP: keep everything in sync
Internet Message Access Protocol (IMAP) also retrieves incoming mail, but it keeps messages on the server and synchronises their state across every device you use. Mark a message as read on your phone, and it shows as read on your laptop too. While POP3 assumes access from a single application, IMAP allows simultaneous access by multiple clients. This is why nearly all modern providers recommend IMAP. It uses port 143 for standard connections and port 993 for encrypted SSL/TLS connections. For students who check mail across a phone, college lab computer, and personal laptop, IMAP is almost always the better choice.
HTTP: email through your browser
When you open Gmail or Yahoo Mail in a web browser, you are using HTTP (or its secure version, HTTPS) to read and compose mail. This is what powers webmail. Behind the scenes, the provider’s servers still rely on SMTP to send and on IMAP-style mechanisms to store your messages, but the interface you interact with is delivered to your browser over HTTP. This is why you do not need to install anything to use webmail; everything runs in the browser and your mail stays in the cloud.
The delivery agents working behind the scenes
Protocols define the rules, but specific pieces of software actually carry out the work. These are known as agents, and they form the relay chain that moves a message along.
Mail user agent and mail submission agent
The Mail User Agent (MUA) is the software you directly interact with, your email client or webmail interface. Gmail, Outlook, and Thunderbird are all MUAs. When you send, the message first goes to a Mail Submission Agent (MSA), which accepts the outgoing message, checks that it follows formatting standards, and forwards it onward. The MSA typically operates on port 587 and can perform initial spam checks before handing the message off.
Mail transfer agent: the routing engine
The Mail Transfer Agent (MTA) is the heart of email routing. It receives the message and decides how to deliver it. If the recipient is on the same server, the MTA hands the mail directly to the delivery agent; otherwise it routes the message to an MTA on another server. To find the right destination, the MTA performs a DNS lookup of the recipient domain’s MX (Mail Exchange) records, which tell it which server handles mail for that domain. Well-known MTA software includes Postfix, Sendmail, and Exim.
MTAs use a “store-and-forward” model. If a transfer fails due to a network issue, the sending MTA queues the email and retries until it either succeeds or times out. A temporary error makes the MTA wait and try again, while a permanent failure produces a bounce message back to the sender. This retry logic is a big reason email is so dependable even when networks are unstable.
Mail delivery agent: the final handoff
The Mail Delivery Agent (MDA) handles the last leg. The MDA receives messages from the MTA and deposits them into the recipient’s mailbox, ready to be fetched by their MUA using POP3 or IMAP. The MDA can also filter and sort mail, and it often decides whether a message lands in the primary inbox or the spam folder. Common MDA software includes Dovecot and Procmail.
Access clients: the apps you actually use
An email client is software that lets you manage one or more accounts in a single dedicated application. The two most widely used desktop clients are Microsoft Outlook and Mozilla Thunderbird.
Microsoft Outlook is part of the Microsoft 365 ecosystem and is popular in business and enterprise settings. It supports IMAP, POP3, and SMTP, but it is especially optimised for Microsoft Exchange and Office 365 accounts. Mozilla Thunderbird is a free, open-source client built around open standards. It connects easily to standard mail servers using IMAP, POP3, and SMTP, includes adaptive junk filtering, and offers native OpenPGP encryption, which makes it a favourite among privacy-conscious users.
The key advantage of a client over webmail is unified, offline access. A client retrieves emails using IMAP or POP3 and lets you organise, search, and compose across multiple accounts in one place, instead of juggling browser tabs and separate logins. Webmail, on the other hand, frees you from any single device, since you can log in from any machine with a browser.
Setting up an email account
Creating a new account is straightforward. Taking Yahoo Mail as an example, the process usually follows these steps. First, go to the Yahoo Mail sign-up page in your browser. Second, fill in your details: name, a chosen email address, a strong password, your mobile number, and date of birth. Third, verify your mobile number using the code Yahoo sends by SMS, which confirms you are a real user and helps with account recovery later. Fourth, agree to the terms and complete the sign-up to reach your new inbox.
If you later want to use that account in a desktop client like Outlook or Thunderbird, you will need the provider’s incoming server settings (IMAP or POP3) and outgoing server settings (SMTP), along with the correct secure ports. Most providers publish these settings, and modern clients often configure them automatically once you enter your email address.
Folder management: keeping your inbox organised
An inbox quickly becomes unmanageable without structure. Folders and filters are the two main tools for staying organised. Folders let you group related messages, for example separate folders for coursework, internships, banking, and personal mail. Most clients also provide default folders such as Inbox, Sent, Drafts, Spam, and Trash.
Filters (also called rules) automate this sorting. You set a condition, such as “if the sender is a particular address” or “if the subject contains a keyword,” and an action, such as moving the message to a specific folder or marking it as read. A practical example for a student: a filter that automatically moves all messages from your college’s official domain into a folder labelled “Academics.” Because IMAP keeps folder state synced, the organisation you create on one device appears everywhere you log in. Filters reduce clutter, ensure important mail does not get buried, and save the time you would otherwise spend sorting messages by hand.
What do you think? Now that you know how many components quietly cooperate every time you send a message, does IMAP or POP3 suit the way you actually use email across your devices? And if you set up a few smart filters today, which categories of mail would you most want sorted automatically?
References
- https://blog.redsift.com/email/whats-the-difference-between-smtp-imap-and-pop3-email-protocols/
- https://www.geeksforgeeks.org/computer-networks/imap-vs-pop3-vs-smtp/
- https://www.sectorlink.com/article/mail-protocols-explained-smtp-pop2-imap-eas-and-mapi
- https://www.siteground.com/tutorials/email/protocols-pop3-smtp-imap/
- https://www.twilio.com/en-us/blog/insights/mail-transfer-agent-mta
- https://www.mailersend.com/blog/mail-transfer-agent-mta
- https://www.smartlead.ai/blog/mail-transfer-agent-guide
- https://theserverhost.com/blog/post/thunderbird-vs-outlook
- https://blog.thunderbird.net/2024/09/why-use-a-mail-client-vs-webmail/

Leave a Reply