Making Gmail and Apple Mail sing together with IMAP

by Milind Alvares on December 1, 2008

A lot of people complain that their Gmail box doesn’t stay in sync across their devices, and the reason behind this is that Apple Mail, unlike the iPhone, uses POP3 by default instead of IMAP. It is very easy to get fooled, as Mail automatically configures your account for you, without entering any settings other than your username and password. So how do we get it to IMAP syncing then?

First things first, enable IMAP in your Gmail preferences. To do that, open Gmail in your browser, navigate to Settings » Forwarding and POP » Enable IMAP.

Once you are done there, open Apple Mail, and get to the Preferences. In the Accounts tab, click the + button at the bottom to add a new account. 

In the following screen, add your email and password, but uncheck Automatically set up account. 

In the Incoming Mail Server screen that follows, change the Account Type to IMAP, and the incoming mail server to imap.gmail.com. Enter your full Gmail address and password. Click Next.

In the Outgoing Mail Server screen, enter smtp.gmail.com in the outgoing mail server, and enter your full email ID into the username field. 

Accept all the following screens and take your account online. Mail will then take a while to sync your emails. Now any changes your make in Mail will reflect online, on the iPhone and any other email client set up with IMAP. Once the sync is complete, go to your Preferences » Accounts and delete the POP account from there. 

Additional Tip: You will notice that IMAP with Gmail adds a bunch of folders inside a [Gmail] folder in your sidebar. Inside this folder reside your Gmail folders like Sent Mail and Labels. Here’s an easy fix to put them in their respective places in the sidebar. Select the “Sent Mail” folder inside your [Gmail] folder, and from the menubar, select MailBox » Use This Mailbox For » Sent. You can’t set sync folders for your Labels or the All Mail folder, but this should help you get things better organised.

Any more tips you can share for Gmail Mail users, do let us know.

Reader Comments

Power up your Mail experience | Smoking Apples
December 11, 2008 at 6:51 am

Reader Comments

E.Prankfort December 1, 2008 at 8:51 pm

There is a google labs feature that will let you turn off the IMAP sharing of the all mail and starred mail folders. Doing this, along with mapping the other four mailboxes to Inbox, Sent, Junk, and Trash, will eliminate the account entry entirely in the sidebar, making it much much cleaner to look at and FINALLY getting rid of the all mail folder in mail.app

   

Chris December 2, 2008 at 1:43 am theweeklyreview.ca

Yep, that Labs feature seals the deal. Unfortunately, it’s not available for those using the google apps for their domain.

   

Curmudgeon Geographer December 2, 2008 at 9:37 am

Per Google’s support team, in Mail’s Preferences the following are the recommended settings for mailbox behaviors:

UNCHECK “Store sent messages on the server”,
CHECK “Store junk messages on the server”,
UNCHECK “Store deleted messages on the server”,
UNCHECK “Move deleted messages to Trash mailbox”,
CHECK “Store draft messages on server”.

http://mail.google.com/support/bin/answer.py?answer=78892&ctx=sibling#

   

John December 2, 2008 at 4:08 pm

IMAP is a standard. Yes it’s an old standard and could do with a bit of sprucing up but it is a STANDARD and Google should follow it. All this labels, folders and mapping should not have to happen.

Yes, even if it IS free, they should still follow the standard.

The Labs settings make it OK for power users who even know what Labs is but still, for me this is IMAP fail.

   

Nevile December 3, 2008 at 9:20 am

Thanks for the tip Milind (as well as the informative commenters). Gmail is now working perfectly on my Mac and iPhone.

   

Leave a Comment

Previous post:

Next post: