Internet

Inbox Unicorns With Gmail & IMAP

Update

As of iOS 4.2, Apple Mail has native support for archive in Gmail and MobileMe.


The Problem

Like many folks, I consume email using a GTD-ish approach of an Inbox and an Everything Else box. I’ve disabled autocheck on my Mac, and cranked the polling time on my iPhone to an hour.

My personal email is hosted on Google Apps, which provides the great Gmail web experience along with an excellent IMAP implementation. Likewise for my previous and current company mail. The Gmail Inbox / All Mail paradigm maps neatly to the aforementioned GTD approach.

On the desktop, I use Mail.app. I prefer it over the Gmail interface for a number of reasons including offline search and its ability to aggregate a number of accounts with the “magic” folders Inbox, Sent and Junk.

One place where Gmail’s interface punks Apple Mail is one-button archiving. It even has a keyboard shortcut! Wham. Hit one key, and that email disappears from the Inbox forever.

With Apple Mail, archiving a message requires a click, drag and a prayer, exacerbated by every additional email account. You could drive a truck through the hole Fitts left in your otherwise optimized process.

The Solution: Archive via Delete

It’s possible to bend Gmail, IMAP and Apple Mail to your will. The following steps describe how to configure things so that Delete acts like Archive: one click (or keypress) archives messages in Apple mail on the desktop and the iPhone.

Step 1. Enable advanced IMAP controls. You’ll find this under the Labs tab in Gmail settings.

Gmail Labs Settings

Step 2. Enable auto-expunge. This is found under the IMAP/Pop tab in Gmail settings. This sounds scary, but isn’t. Gmail keeps a copy of each message in All Mail, regardless if it’s in the Inbox or not.

Gmail IMAP Settings

Step 3. Configure Apple Mail. Uncheck “Move deleted messages to The Trash mailbox” and set the IMAP prefix to “[Gmail]”.

Apple Mail Settings 1 Apple Mail Settings 2

Step 4. Use “All Mail” for sent messages. Since Gmail already stores every message, sent or received in All Mail, this step just instructs Apple Mail to work that way too. If you have multiple accounts, Sent is aggregated just like Inbox.

Use the Mailbox for

Step 5. Configure your iPhone.

iPhone Mail Settings

Presto! Faster email consumption.

In Apple mail you’ll see something like this:

Apple Mail Inboxes

On an iPhone, the Delete icon will remove messages from the Inbox, but leave them in All Mail. Note: Be careful not to tap Delete when viewing messages in All Mail—they’ll be permanently deleted!

Vader

TL;DR

  • Use Gmail, IMAP, and Apple Mail tricks to read & process email faster.
  • Uses fun terms like “auto expunge” and training yourself that hitting Delete is okay.
  • Vader.

Postscript

I’ve been using this to manage my email for 2 years. It works great, is fast, and frankly hitting Delete when I’m done with an email is really satisfying.

Exporting a Vox Blog

Sunday project!

Export a Vox blog to MTIF (Movable Type Import Format), along with some CSS to style it.

Requires Python, httplib2, Feed Parser and Beautiful Soup.

Two Quotes

Two friends of mine, both engineers, in separate occasions in the past week:

@rk: “Software is a hypothesis.”

@nk: “The GPL dictated behavior, whereas the authors of the MIT license merely prescribed it, having faith it would succeed on its inherent benefits.”

Indexed Legacies

In roughly a decade, the children of the generation who grew up with the internet and social media will be coming online. They’ll be creating their own online identities, with greater ease and comfort than their parents’ generation.

This medium will be used to communicate with their peers—but more profoundly, and almost wholly unlike our generation—to relate with their parents. Our generation is amassing our experience on the internet, indexed and cross-referenced, annotated with comments and (sometimes ephemeral) edges in the social graphs we’ve created.

Our children’s generation will not have to suffer the same awkward slideshows of their parents’ youth. The data, our experiences, will be there for the taking, at their leisure, not buried in dusty scrapbooks in attics and basements.

Their generation will be the first with such direct accessibility to the lives of their immediate ancestors. Our children—and their children—will be able to learn and discover their history, the pain and the successes of their forebears. They will know these things not through dim recollection and hyperbole, and not mixed with parable or lessons.

Today, if there is one at all, the litmus test for posting something online is something like “will my future boss see this?” or “is this something I want my mother to see?” At a certain point the question will change to “is this something I’m comfortable with my kids seeing?” The potential of unvarnished personal experience as an implicit gifted advantage to our children is a wonderful thing.