C&Ped from gmail:
Getting Started with IMAP for Google Mail
What is IMAP?
IMAP or Internet Message Access Protocol, lets you download messages from Google Mail's servers onto your computer so you can access your mail with a programme such as Microsoft Outlook Express or Apple Mail, even when you aren't connected to the Internet.
IMAP creates a constant connection between mail clients (desktop and/or mobile) and Google Mail.
What's the difference between IMAP and POP?
Unlike POP, IMAP offers two-way communication between your web Google Mail and your email client(s). This means when you log in to Google Mail using a web browser, actions you perform on email clients and mobile devices (for example putting mail in a 'work' folder) will instantly and automatically appear in Google Mail (for example it will already have a 'work' label on that email).
In addition, IMAP provides a better method to access your mail from multiple devices. If you check your email at work, on your mobile phone and again at home, IMAP ensures that new mail is accessible from any device at any given time.
Finally, IMAP offers a more stable experience overall. Whereas POP is prone to losing messages or downloading the same messages multiple times, IMAP avoids this through its two-way syncing capabilities between your mail clients and your web Google Mail.
If you're trying to decide between using POP and using IMAP with your Google Mail account, we recommend IMAP.
How much does IMAP cost?
IMAP for Google Mail is free.
Great! How do I get started?
First, you'll need to enable IMAP in your Google Mail account. Once IMAP is enabled, follow the configuration instructions for your client of choice. Currently, only the clients listed are supported for IMAP. If you'd like to download your Google Mail messages with a different client, please check to see if it's on our list of supported POP clients.
When you've enabled IMAP and set up your client, sign in to Google Mail through the client and watch your messages arrive. You'll notice that all of your custom Google Mail labels will appear in your client as folders, with copies of the messages to which you've applied those labels. While we'd like to make your IMAP experience match the Google Mail web interface as much as possible, some Google Mail-specific features and terms, such as conversation threading and stars, won't appear in your client. Don't worry; you can still perform all the usual Google Mail functions, just in a slightly different way. The IMAP behaviour chart shows you how to perform common functions on your IMAP client.
Please note that every client handles IMAP in a slightly different way. If you're curious about the specific use of your client, please contact the client's support team.