When checking your e-mail account via an IMAP client, you might notice that things seem to hang from time to time. Sometimes 100% CPU usage or high memory usage could occur on your local computer, while it syncs mail from the server, leading to delays and possible freezing because of the intensive activity.

loading-pop-up

You might have also received a notice from our system administration department, that they've noticed elevated levels of usage on the server side coming from your IMAP activity.

resource-usage-meter

When you check your e-mail on the server, you can think of this the same as having a post office box at your local post office. However unlike your traditional mail box, this post office box resides online so you can access it from anywhere.

post-mail-to-email
 

How are you checking your email?

When checking e-mail, your e-mail client will present you with two methods or protocols for syncing mail from the server: POP3 or IMAP.

 

POP3 vs IMAP

 
pop3-server
With POP3 (Post Office Protocol) this would be the same as simply going into the post office, removing everything in your post office box and taking it home with you. You retain the physical copies of all of your mail that has been sent to you, and the post office (server) doesn't have to deal with them further.
imap-server
With IMAP (Internet Mail Access Protocol) instead of simply taking everything out of your box and home with you every time. You instead grab a copy of each message, and the original stays in the post office box (server). This is convenient if you have multiple devices such as a desktop, laptop, smartphone, and tablet all trying to check mail from the same account.
 

When can using IMAP cause problems on the server?

Few messages = easy to sync

imap-not-many-messages

Lots of messages = difficult to sync

imap-too-many-messages
 

Inbox efficiency

Fast server

Imagine for a moment going to your physical post office box to see if you had any new mail. It would be easy to see what mail is new, if you only had a handful there to choose from. However if you had a pile of over 2,000 pieces of mail sitting there, some old, and some new, it would be much more time consuming to figure out what is what and be on your way.

A similar scenario is encountered on the server when you're using IMAP. Each time your mail client checks for new messages on the server, it must first synchronize all of the messages headers of your entire Inbox folder. A message header contains some basic information about that message, so that you don't have to download the full message from the server until you actually click on that specific message in your mail client.

If you have only a few e-mails, the server can sync all message headers relatively quickly with minimal impact on the server's performance. However if you have thousands of e-mails in the Inbox, the server is going to have to do extra work just to let you know what messages are new.

 

Long term e-mail storage

File storage

Over time, you can accumulate a large amount of messages stored on the server in your Inbox or Sent folders when using IMAP. So it’s important to either archive or tidy these up from time to time, since all of the message headers in these folders are synced each time you check for new mail. Keeping these folders with fewer then around 1,000 or so messages at a time can help ensure speedy retrieval of your new messages without affecting the server's performance.

Additionally while we do not impose a disk-space limit on the amount of e-mail stored on the server, if your account size exceeds 10GB on our shared or VPS hosting servers, this does stop our automated backup process on your account. So ensuring that you're only keeping e-mails you need access to, will help make sure your entire account is getting backed up daily. You can always grab messages off of the server to your local computer for long-term storage using local mail folders instead of IMAP folders stored on the server. 

 

What solutions are available?

Checklist

There are multiple options you have to resolve resource issues caused by IMAP activity, please pick from one below:

 
Option 1: Auto Archive Our System Administration team can setup any of your e-mail accounts to be automatically archived on a weekly basis for you. This can save you lots of time, since you don’t have to manually organize your older messages. This is the most popular and easiest solution most people go with.
Option 2: Manual Archive For full control over how your messages are archived on the server, for example naming your own folders, and controlling which mail goes where. This can be accomplished with server-side IMAP folders. These can be created via your e-mail client or one of the webmail clients available on our servers.
Option 3: Local Archive You can create a local folder on your computer instead of a server-side IMAP one, to archive messages from the server into. This will allow you to reduce the disk-space used by an e-mail account on the server and help it remain as efficient as possible while you’re syncing new messages from that account.
Option 4: Switch to POP3 You can switch your e-mail client to use POP3 instead of IMAP to avoid any IMAP resource usage issues. Please note that this would require removing the IMAP account from your mail client, and then re-creating the account, this time selecting POP3 as the server-type.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!