Email

What is IMAP?

Also known as: Internet Message Access Protocol

Definition

IMAP is an email protocol that lets clients access and manage messages stored on a mail server, keeping the server as the authoritative copy and synchronizing folder state across multiple devices.

The Internet Message Access Protocol (IMAP) is an application-layer protocol used by email clients to retrieve and manage messages from a remote mail server. Unlike POP3, which downloads and often deletes messages from the server, IMAP keeps the messages on the server by design. This allows users to access their entire mailbox from multiple devices (desktop, phone, webmail) while seeing the same folder structure, read state, and flags.

IMAP operates over TCP, typically on port 143 for plaintext connections or port 993 for implicit TLS. The protocol works in a client-server model: the client opens a connection, authenticates (often with the LOGIN command or SASL mechanisms), and then issues commands such as SELECT INBOX, FETCH, STORE, SEARCH, and LOGOUT. The server responds with tagged status codes and data. IMAP supports concurrent access from multiple clients, and an extension called IDLE (RFC 2177) allows the server to push new message notifications to the client without polling.

IMAP is the backbone of modern email access for users who check mail on more than one device. It coexists with SMTP for sending, and POP3 remains an alternative for those who prefer offline access. The protocol has gone through several revisions, with IMAP4rev1 (RFC 3501) being the widely deployed version as of 2025. Its design centers on the idea that the mail store lives on the server, and the client is a transient viewer of that store.

Key facts

  • Messages remain on the server by default; clients download copies for local caching.
  • The protocol supports multiple folders, flags (seen, flagged, deleted), and server-side searches.
  • Defined in RFC 3501 (IMAP4rev1), published in 2003.
  • Operates over TCP port 143 (plain) or 993 (IMAPS, implicit TLS).
  • Extensions like IDLE (RFC 2177) enable push notifications for new mail.

How it works in practice

A user checks email on a desktop client, reading a message and marking it with a star. Later, the same user opens the email app on a phone. Because the client uses IMAP, the star is visible immediately the server stored that flag. The message remains on the server, so the user can also search the full mailbox from the phone. No messages are deleted from the server unless the user explicitly moves them to trash or deletes them.

Related terms

POP3 SMTP MIME Email client Mail server TLS SASL

References

More in Email

BIMI

BIMI (Brand Indicators for Message Identification) is a DMARC-aligned standard that lets email senders publish a verified logo for display in supporting mail clients.

Bounce Message

A bounce message, or non-delivery report (NDR), is an automated email sent to the originator when delivery cannot be completed, including a status code and failure reason.

Catch-All Email

A catch-all email account receives all messages sent to invalid or nonexistent addresses at a domain, preventing bounce-backs but attracting spam.

DKIM

DKIM is an email authentication method that lets a domain claim responsibility for a message by attaching a cryptographic signature validated against a DNS public key.

DMARC

DMARC is an email authentication policy protocol that builds on SPF and DKIM to tell receiving mail servers how to handle messages that fail authentication checks.

DNSBL

A DNSBL is a real-time IP reputation database published via DNS, used by mail servers at SMTP time to reject or flag senders known for spam or abuse.

Greylisting

Greylisting is a spam-filtering technique that temporarily rejects email from unknown senders, forcing legitimate mail servers to retry delivery while filtering out spammers that do not retry.

Mailbox Quota

A mailbox quota is a storage limit placed on a user's email account. Once the total size of stored messages exceeds this limit, the server may reject new incoming emails or warn the user.

MDA

An MDA (Mail Delivery Agent) is a software component that transfers an email from a Mail Transfer Agent (MTA) into a recipient's local mailbox, typically on a mail server or a user's machine.

MTA

An MTA (Mail Transfer Agent) is server software that routes email between domains using the SMTP protocol, acting as the core delivery engine for internet email.

Who Is Online

In total there are 76 users online: 0 registered, 69 guests and 7 bots.

Bots: AhrefsBot Applebot Baiduspider Facebook Other Bot Other Spider SemrushBot

Users active in the past 15 minutes. Total registered members: 340