You are adding your mailbox to a new phone, and the setup wizard asks “IMAP or POP”. Pick IMAP (port 993): it leaves the messages on the mail server and syncs them across all your devices. POP only makes sense for a single computer and a local archive.
The protocol decides where the reference copy of each message lives. With IMAP, it stays on the provider’s server. With POP, it moves to the machine that downloads the mail. How many devices you can use and how likely you are to lose mail both follow from that.
IMAP vs POP: the choice in one table
| Criterion | IMAP | POP3 |
|---|---|---|
| Where messages live | On the server, the client shows a view of them (RFC 3501) | Downloaded to the computer, then removed from the server by default |
| Devices | Several at the same time | One computer |
| Read or unread state | Flag kept on the server between sessions | No server-side flag, the state stays in the client |
| Offline reading | Resync on reconnection | Messages already downloaded can be read without a network |
| Message loss | Low, the server keeps the copy | High if the disk fails and the server has nothing left |
| Space on the server | Counts against the mailbox quota | Freed on download, as long as the client deletes the messages |
| Ports | 993 (implicit TLS) or 143 (STARTTLS) | 995 (implicit TLS) or 110 (STARTTLS) |
Why IMAP is the default setting
A mail read on the iPhone shows as read in Outlook, and a folder created in the webmail appears in Thunderbird and Apple Mail. RFC 3501 (IMAP4rev1, March 2003, since replaced by RFC 9051) describes this behavior: the client accesses messages on the server, mailboxes are remote folders, and several clients can open the same mailbox at once. Flags, including “\Seen” for read, stay attached to the server.
IMAP works across multiple devices with real-time sync, while POP is only suited to a single computer. The IMAP IDLE extension even lets the server tell the client as soon as a message arrives, with no repeated polling.
A webmail displays the server’s mailbox directly, which a protocol that moves messages to a local disk cannot do. The page on webmail and email software explains how the two differ in use.
The drawback is that the single copy fills the mailbox quota. A business address with limited space ends up rejecting messages if nobody archives or empties the folders.
POP: one narrow use case and one trap
POP holds up for a single computer that doubles as an archive: a mailbox with a tiny quota, or a need to keep every mail locally. Mail clients (Outlook, Thunderbird, Apple Mail) can leave a copy on the server despite the download, and Gmail’s recent: mode only pulls in the last 30 days of mail.
A client that crashes mid-download loses no mail. RFC 1939 (POP3, May 1996) describes a “download then delete” model. The “DELE” command only marks the message: deletion happens when the session enters the “UPDATE” state, after “QUIT”. A session cut off any other way deletes nothing.
The trap comes later. Once the server-side deletion has happened, the machine’s disk holds the only copy. A failing SSD or a stolen computer takes the whole history with it. Google also reports an error about exceeded limits when a POP client checks the mailbox too often.
Ports and encryption: 993, 143, 995, 110
Ports 143 (IMAP) and 110 (POP3) impose no encryption originally; you switch to an encrypted session with the STARTTLS command after an initial handshake in the clear. The RFC 8314, published in January 2018 under the title “Cleartext Considered Obsolete”, recommends the opposite: implicit TLS, where the encrypted connection starts from the first second. The default ports it declares are 993 for IMAP (“imaps”) and 995 for POP3 (“pop3s”).
For sending, the same text names port 465 (“submissions”) with implicit TLS. Port 587 with STARTTLS remains valid: there is no significant security difference when TLS is required on both sides. Gmail illustrates it with pop.gmail.com on 995 over SSL and smtp.gmail.com on 587, authentication required; here the acronym SSL stands for TLS, its successor.
Configuration rule: try 993 or 995 first, and if the server does not listen there, fall back to STARTTLS, which is 143 for IMAP and 110 for POP3. The password (or the OAuth token at providers that require one) then travels through an encrypted tunnel.
SMTP handles sending, separately
IMAP and POP only retrieve mail. Sending goes through SMTP, a different server (smtp.gmail.com for Gmail) with its own credentials. The definition of SMTP lays out the principle, and the guide to finding your SMTP server shows where to read the address to enter.
Port 25 is mostly used for relaying between servers. For an everyday account, 587 with STARTTLS or 465 with implicit TLS is the usual pick; the details are in the page about which SMTP port to use.
Switching from POP to IMAP without losing mail
The risk sits with the messages POP has already removed from the server: they now exist only on the machine. The procedure below protects them before any switch.
- Back up the mail client’s local folder (Thunderbird profile, Outlook .pst file) to an external drive.
- Add the same account as IMAP, next to the POP account: incoming server, port 993, implicit TLS, same credentials.
- Copy the local folders into the IMAP account’s folders, then compare the message count with what the webmail shows. Check the quota first, because the copy fills the mailbox.
- Remove the POP account from the client only when the two totals match.
Frequently asked questions
Can I use IMAP and POP on the same mailbox?
Technically yes. If the POP client deletes messages after downloading, the mailbox also empties for the IMAP clients, so the option to keep a copy on the server must stay enabled.
Do my POP emails disappear from the server?
By default yes, once the session ends. Many clients, and Gmail, let you leave a copy.
Which port should I choose?
For receiving: 993 for IMAP or 995 for POP3, with encryption on. For sending: 587 or 465.

