Written by 2:21 pm Protocols

What is IMAP?

The evolution and the usage of smartphones, laptops, tablets, and other devices demand versatility. As a result, the world is more dynamic than ever, and mobile usage makes IMAP very popular. In today’s article, we will explain what IMAP actually means and clarify how it works in detail. So, without any further ado, let’s start!

IMAP definition

Internet Message Access Protocol, also known as IMAP, is a popular application layer protocol that serves for receiving email messages from a mail server over a TCP/IP connection (Internet). It was created back in 1986 by Mark Crispin as a remote access mailbox protocol. Now, the latest version is IMAP4. Moreover, it is very beneficial and the most common protocol for retrieving emails.

How does it work?

Internet Message Access Protocol, as an incoming email protocol, operates in the middle of the email server and the email client. Additionally, when a user is using IMAP and wants to read an email, it reads it off the server. That means it does not download or store the email on a local device, and users can gain access from any location in the world with different devices, like laptops, smartphones, and tablets. 


Here are the main steps and processes involved in an IMAP function:

  • The user signs into the email client, like Microsoft Outlook, and the client reaches the server using IMAP.
  • A connection is established on a precise port.
  • The email client shows the headers of all emails.
  • Only when the user clicks on a message IMAP download it. Additionally, attachments do not download automatically.
  • It is easier and quicker to check an email with IMAP rather than with other email retrieval protocols, like Post Office Protocol (POP).
  • Emails are stored on the server if the user does not delete them.

IMAP port

Similar to other applications on a local device, the IMAP protocol requires a logical point of connection to the Internet. More precisely, such a connection is known as a port. Therefore, prior to setting a connection to the Internet, every application needs to be bound to its assigned port, represented by a number. 

There are two different ports that IMAP typically uses. They are the following:

  • Port 143: It is the default port, and it is a non-encrypted IMAP port. It is known as unsecured because it does not provide any encryption. 
  • Port 993: It is the encrypted IMAP port (secure). It works over TLS/SSL encryption, and it is used when the user wants to connect through IMAP securely.

It is important to note that port 143 should not be open and accessible to the outside world on any account. That is because it is not secure, and some criminals can take advantage of it and initiate different attacks. Therefore, it is highly recommended to use the more secure port (993).


Internet Message Access Protocol’s key features are: 

  • Multiple mailboxes: With it, users can manage several mailboxes and transfer messages between them.
  • Organize emails: Users are able to organize their messages and create different categories and folders.
  • Synchronization: It allows users to sync the folders across all their devices.
  • Retrieve mail from the remote server: IMAP allows users to access their mail remotely while keeping the emails on the server.
  • Set flags: It lets users implement message flags to track read and unread messages easily. The status of every message is saved, and the user can see it on every device.
  • Check information before downloading: Users are able to view emails, and the email header, including the sender, subject, and date, before deciding to download.
  • Download just a part of a message: IMAP lets users download only a portion of the message.
  • Search: This feature allows users to search the contents of emails
  • Hierarchy: IMAP lets users implement an email hierarchy based on the importance of the message.

How to use an IMAP server?

Email services like Gmail, Outlook, and Yahoo are pretty popular, and in case you are using one of them, you are familiar that when you make some changes to your emails, they are synced on all of your devices. Yes, exactly like IMAP!

That means if you set up an email account in one of these well-known email apps, the app configures it automatically by default as an IMAP account. As a result, the modifications you make to your email account will automatically sync with the webmail server. 

In some rare cases, an email client could have problems with configuring an IMAP account. In such situations, it is best to contact the email service’s support for help. Sometimes it could be necessary to set up the account manually.

Benefits of using IMAP

Using IMAP supplies the following benefits: 

  • It lets you access your emails from everywhere and from as many devices as you like.
  • Only when you click on a message it downloads it. That way, you are not wasting time waiting to download all of your new messages from the server to read them. 
  • It does not download attachments automatically. That way, you can check your emails more quickly. Moreover, it gives you more control, and you can decide which attachments to open and which not.
  • It can be used offline, similarly to POP. 

IMAP, for sure, is going to remain the preferred protocol option, especially for many people that have a busy schedule.

Uses of IMAP 

Here are some of the main usages of the Internet Message Access Protocol:

Compatibility with Other Applications

IMAP has the potential to act as a bridge and eliminate the integration gap between email clients. The majority of users have more than a single email account in the present day. IMAP allows retrieving copies of all emails stored on any email server. That way, email platforms such as Outlook, for example, are able to integrate with more email providers on their platform. As a result, it provides better and more useful email usage.

Access Emails from Several Devices

Thanks to IMAP, you can make use of multiple smart devices and access emails from them. There are so many different options, for instance, laptops and desktops, tablets, and of course, smartphones. You can access email on all of these various machines. In addition, the email clients on these devices are automatically synchronized with the email server, creating seamless access. When an email is read, replied to, deleted, or accessed in any way on one device, the change automatically appears on all devices. Moreover, it lets users access messages without downloading them on each device.

Offline Access Support 

Some of the latest versions of IMAP, for instance, IMAP4, include enabled email programs that allow access to messages online and offline. That is extremely beneficial in cases when there is no Internet connectivity or it is poor quality.


Internet Message Access Protocol (IMAP) brought up a lot more flexibility to the way we receive our emails. It is definitely one of the most important protocols, which provides us with easy and quick access to our email messages!

(Visited 816 times, 1 visits today)
Enjoy this article? Don't forget to share.
Tags: , , , Last modified: February 6, 2023