09

Push For All Email Accounts on iPhone

Update: iOS 4 now allows unlimited Exchange accounts, so you can you have as many Google Sync accounts hooked up as you like. There’s a trade off as far as how long you’re battery will last, however.

Here’s the deal: you can use push email from MobileMe, Yahoo or a Microsoft exchange account. This is kind of limiting, seeing as most of the world doesn’t want to drop $100 on MobileMe (see my older post), doesn’t use Yahoo mail and isn’t a corporate email junkie. The good news is that someone has been thinking about the rest of us and that entity is Google. They are offering a free service called Google Sync, which is essentially a personal Exchange account that you can use with your iPhone and other mobile devices.

I have four email accounts that I want pushed to my iPhone. 1 Gmail, 2 Google Apps, and 1 external account. Since you can only use 1 Exchange account (Google Sync) on your iPhone I had to come up with a crafty solution.

You could forward all mail to one MobileMe / Yahoo / Exchange / Google Sync account. The problem with that setup is that when you reply to emails they will all be sent from your push enabled account, and not necessarily the one they were sent to.

IMG_0035Instead, I setup all of my email accounts using IMAP and set the fetch interval to 1 hour. This way I can open emails on the right account and reply normally. I’m still not getting push, so I also went into the online settings for my email accounts and setup forwarding to a single Google Sync address (eg iphone@mydomain.com). Now I have the four normal email accounts and one push (iPhone Pushmail) that receives all mail from the others instantly.

Another problem. Now I receive immediate notifications of new mail, but once I open up Mail it fetches from the IMAP accounts, and now I have duplicate new emails. Gross. To solve this problem I logged into to my iphone@yourdomain.com Google Apps (Google Sync enabled) account, and setup a filter that makes all messages “skip the inbox” and applies a label “iPhone” to them.

Then I went in to my Mail settings on my phone and enabled push for the new “iPhone” folder on my iphone@youdomain.com account.

The result: when new mail is received, I get an instant notification. The counter on Mail doesn’t increase, but there is a sound and the phone vibrates just the same. From this point I can open Mail and new messages are quickly fetched from the IMAP accounts.

This solution is far from elegant and I hope if you find something better you’ll share it with me. Hopefully Apple can work with more email providers to make push support a little more common.

Screen shot 2009-11-18 at 12.31.13 AMIMG_0040Screen shot 2009-11-18 at 12.31.41 AM

Tags: , , ,

Leave a Reply