January 24, 2010
I should start this post off with the disclaimer that I know there is a perfectly good solution, namely IMAP, that was engineered to solve this problem; but I don’t have a data plan and the point is to try and figure out a way to get a notification when I get an email, with the tools I have available (i.e., unlimited incoming SMS due to a text plan).
The idea is simple. When I get an email, I want to be texted on my phone with the subject, sender, and whatever else from the body that can fit within 160 characters. But the some of the details make this convoluted: 1) Sending SMS is “expensive” so it’s difficult to find a reliable, quick AND free resource to send texts, and 2) I don’t want to share my GMail login with some random provider to retrieve my mail (since it’s my Google Accounts login which is tied to Calendar, Adsense, etc; not to mention just having random people read my private mail).
The first problem has a relatively easy solution, and that is to go through Twitter. I can set my Twitter account to subscribe to another dummy Twitter account that I own. Whenever that dummy account is updated, Twitter can quickly and for free, send a text to my phone. Now I just need to get my mail onto Twitter.
GMail has an RSS feed, and if you embed your login information in the URL, then anything can pull the mail from your account. Also, a Twitter account can be tied to a RSS feed through services like TwitterFeed (which I tried using for FiD). But their service runs on a one-hour delay and I’m not entirely comfortable sharing my info with this third party. Then I found out that FeedBurner has a new FeedBurner Socialize feature which can push RSS updates to a Twitter account. Feedburner is now owned by Google so I feel more comfortable storing my login info there.
With that setup, I can accomplish what I set out to. So to summarize:
- Grab mail as RSS feed by embedding login data into feed URL
- Burn feed through FeedBurner and socialize to a new, protected, Twitter account
- Follow dummy Twitter from main Twitter account and have updates sent to phone.
Now on to the problems. The GMail RSS feed stores the email body preview in a summary element within the feed, instead of the description. This means that when FeedBurner pushes to Twitter, it just pushes the title (and also there is no author etc). I think this can be solved by taking the FeedBurner feed and “fixing” it with Yahoo! Pipes. For some reason, Yahoo! Pipes doesn’t take an authenticated RSS feed as a source (or GMail ignores it on purpose) so you have to use your burned feed. Once the feed is fixed, then you have to burn it a second time in FeedBurner to push to Twitter. This introduces even more polling delay.
Next, the dummy Twitter account ends up polluting your actual Twitter account with updates (i.e., your mail). I don’t know how to solve this yet since there is no filtering mechanism on the main Twitter site. It is actually quite annoying and counter-balances the usefulness of pushing email notifications to my mobile.
Also, I was thinking that it might be good to funnel my mail through to a second, read-only, GMail account in order to protect my login (it might be good to have a second GMail account which shadows my primary account for security purposes anyways). But again this adds more delay.
In summary, it can be done, but it is just not streamlined enough to be of good use.