Visit Kyle Baxter's column >>

KYLE BAXTERHome Page

My thoughts were so loud I couldn't hear my mouth
Add To Watchlist
Articles Posted: 134; Links Seeded: 1104
Member Since: 11/2006Last Seen: 11/20/2009

Kyle's Gmail IMAP and Mail.app Primer

IMAP in shining armor came, and now gmail and desktop email can live happily ever after.

Gmail in Mail.app.

advertisement

Leopard was not all last week brought us tech geeks. Since Gmail was released in 2004, Gmail users have enjoyed the many great things gmail brings, but have savored the idea of free IMAP along with the bundle of joy that is gmail. Our wishes were fulfilled last week when Google announced IMAP-support for gmail. But how can I use it?

Syncing Made Easy

IMAP email, as opposed to POP3, gives us the ability to keep both our web-based and device-based email readers in sync. Most importantly, though, it does this on its own. When you read an email on your desktop email app, that email will show up as "read" in your gmail account; when you archive an email in your gmail account, it will show up in your "All Mail" folder (more on this later) on your desktop email app. Keeping things in sync requires no extra effort on your part. It just takes care of it for you.

The most important benefit of this is that as a result of this constant syncing, using your gmail web-interface and a desktop email app together is now possible. When gmail just used POP3, it was a more or less mutually exclusive affair. If you accessed your gmail account remotely though POP3, the emails you downloaded were either deleted in your gmail account, kept in the inbox, or automatically archived. This created a barrier between online email and your desktop email, because they could never be on the same page. Reading an email in one of them was not reflected in the other, nor deleting one, flagging it, or replying. They were two separate worlds of disparate organization.

IMAP for gmail changes that. Almost all aspects of your email are now synced between your desktop email and your gmail web interface. Gmail will reflect if you read an email in your Apple Mail.app, reply to one, delete an email, put an email in a folder, or flag an email. This is synced almost seamlessly; as soon as you do something on one side, it is reflected on the other side.

Well, this all sounds great. But how can you use it?

Labels and Folders

Instead of using folders to organize emails, Gmail uses "labels," which can automagically be applied to any incoming emails. Labels are more or less the same concept as smart folders. Luckily, through the wonders of IMAP, we can extend this form of organization to our desktop email.

In Mail.app, when you look at your IMAP gmail account, the labels you set up in gmail show up as folders. Thus, if you had "Friends," "Work," and "Misc" labels in gmail, in Mail.app you will have "Friends," "Work," and "Misc" folders.

To apply these labels to emails in Mail.app, simply drag the email from your inbox into the folder you want. This will apply that label to the email, and gmail will automatically reflect that.

You do not have to do this manually, however. You can apply labels to emails in two ways; once involving gmail, and once involving Mail.app. That said, it is more logical to use gmail's technique because it is the first place that handles them.

Apply Labels Automatically

To do this in gmail, log in to your account, click on Settings, and then the Filters tab. This gives you several criterions to select types of emails coming in to apply a label to. These include whom the email is from, who it is to, what the Subject line has in it, what words the email contains, and what words it does not contain. Then it allows you to decide which label to apply to these emails.

The wonderful thing about this technique is these labels will be put in automatically, and they will show up in both gmail and Mail.app. More importantly, though, since the filtering is done through gmail rather than Mail.app, you can make changes to the filtering rules from anywhere.

You can also use Mail.app's Rules function in preferences to do the same thing, but using Gmail's is preferable because of the above reason.

Starring and Flagging

In gmail, you can "star" an email, which places a little star next to it and compiles all "starred" emails in a list so you can access important emails easily. These stars are also synced to Mail.app, but instead of using stars, Mail.app allows you to "flag" emails. It is exactly the same concept, just with a different symbol.

This is a great way to make important emails jump out from the others. This idea can be used very powerfully in conjunction with filters. Filters allow you to star specific types of emails, so whether you are in gmail or Mail.app, emails from an important person (say, your boss, or your wife) are automatically starred/flagged so you will not miss them.

Conclusion

This is just a brief introduction to what you can do with IMAP and gmail, but this is a game-changing event. The ability to keep everything in sync between your gmail account, Mail.app on your desktop, and Mobile Mail on your iPhone is incredible. Moreover, with the power to filter your mail and apply labels and stars to it, your mail will now be easier to manage than ever. Just dive in and begin playing around with it. Soon enough you will find a set up that helps you be productive and make sense of the incredible amount of emails pouring in.

  • 19 Votes
  • Enjoy this article? Help vote it up the 'Vine.

Back To Top

Published to:

What's this?
Who's leading the conversation?
This visualization below allows you to see the impact that each user has on the current conversation. The top row contains the group of users who have had the most impact, the 2nd row the group of users who have had the 2nd most impact (et cetera). Users with similar impact are grouped together, and the average score of the group is shown to the left of the group. The author of the article is also shown on the left, in their corresponding group. Each user's score is based on the number of comments the user has made plus the number of votes their comments have received. The scores are calculated relative one another, so while their absolute value is not particularly important, their relative difference does indicate a larger difference in impact on the conversation.
6.1
{"commentId":1139701,"authorDomain":"kyleb"}

Hopefully in the next week or so I will do a little write up on how to use gmail filtering effectively.

{"commentId":1139701,"threadId":"168779","contentId":"1058699","authorDomain":"kyleb"}
  • 3 votes
Reply#1 - Mon Oct 29, 2007 4:15 PM EDT
{"commentId":1139815,"authorDomain":"tcervo"}

I've been using MailPlane as my desktop Gmail client, and I love it! MailPlane retains all the nice Gmail goodness that makes Gmail so good in the first place.

{"commentId":1139815,"threadId":"168779","contentId":"1058699","authorDomain":"tcervo"}
  • 3 votes
Reply#2 - Mon Oct 29, 2007 4:51 PM EDT
{"commentId":1140201,"authorDomain":"behindmyscreen"}

Kyle,

Writing articles like this is a good way to maintain traffic to your column.

I wrote how to configure Postfix to use gmail as a smart host almost a year ago and have had steady traffic to my column since.

{"commentId":1140201,"threadId":"168779","contentId":"1058699","authorDomain":"behindmyscreen"}
  • 3 votes
Reply#3 - Mon Oct 29, 2007 7:16 PM EDT
{"commentId":1140223,"authorDomain":"kyleb"}

Well hopefully some people find it useful. Judging by the traffic to my seed last week of news that Google enabled IMAP for gmail, there is strong interest for it.

{"commentId":1140223,"threadId":"168779","contentId":"1058699","authorDomain":"kyleb"}
  • 3 votes
#3.1 - Mon Oct 29, 2007 8:26 PM EDT
Reply
{"commentId":1142651,"authorDomain":"onlineapps"}

Wonderful article. I just wish Mail.app had a 'y' key to archive like in Gmail. So until then (and of course, until I get a Mac) I'm sticking with Thunderbird (and Lifehacker's tips&tricks about using it with Gmail).

{"commentId":1142651,"threadId":"168779","contentId":"1058699","authorDomain":"onlineapps"}
  • 3 votes
Reply#4 - Tue Oct 30, 2007 4:29 PM EDT
{"commentId":1194179,"authorDomain":"aalva"}

Thanks for the article. The IMAP to Apple Mail feature has been working very well for me.

It is especially helpful for when access to my gmail inbox is needed where there is no internet connection. Having all of my e-mails in Mail provides a great offline database.

{"commentId":1194179,"threadId":"168779","contentId":"1058699","authorDomain":"aalva"}
  • 2 votes
Reply#5 - Sat Nov 17, 2007 2:12 PM EST
{"commentId":1194520,"authorDomain":"fscott"}

Thanks, Kyle. This is a very useful article.

{"commentId":1194520,"threadId":"168779","contentId":"1058699","authorDomain":"fscott"}
  • 2 votes
Reply#6 - Sat Nov 17, 2007 5:12 PM EST
{"commentId":1194559,"authorDomain":"kyleb"}

I'm glad you all found it useful!

{"commentId":1194559,"threadId":"168779","contentId":"1058699","authorDomain":"kyleb"}
  • 2 votes
Reply#7 - Sat Nov 17, 2007 5:29 PM EST
{"canLink":false,"threadId":"168779","isPrivate":false}
Leave a Comment:
You're in Easy Mode. If you prefer, you can use XHTML Mode instead.
As a new user, you may notice a few temporary content restrictions. Click here for more info.
{"threadId":"168779","contentId":"1058699"}
Start TrackingStart Tracking
Stop TrackingStop Tracking