Webmail is really a separate application. When I’m visiting GMail, I’m checking mail, not browsing the web. So what’s so bad about using a browser for this?
Minor Gripes
If I keep a browser window running with GMail, now clicking on the Safari dock icon just brings that sucker up instead of creating a new empty window.
I love the GMail key shortcuts and Safari has an annoying tendency to get the key focus wrong so I have to click in the window somewhere after moving up out of a thread to get my shortcuts back.
Safari crashes, I forget to reload GMail, I miss important messages.
Even all that isn’t so bad. For a while I ran Firefox with only GMail open. I could get a GMail notifier so I won’t miss messages… but:
The Real Problem
The final straw is this: Every time I check mail, I’m diving right into the world’s biggest time-sink. My email isn’t usually a waste of my time, but all the windows I’ve left floating around, my bookmarks bar, or a quick Google search are. These are the things that eat up afternoons, and webmail is a gateway to that distraction.
Browsers have lots of features that I don’t need to use GMail: bookmarks, back & forward buttons, a search field, page history, a location bar, and on and on.
My Easy Way Out – the Minimalist Specialized Browser
A while back, I wrote a separate web browser just for GMail.
All it does is load GMail in a nice big window and duck out of your way. No location bar. And no bookmarks.
It says: Go ahead and follow that link your friend (or bug tracker) sent you, but to check BoingBoing, you’re going to have to go over to Safari. Maybe you’ll decide to go back to work instead.
It’s basically the WebKit demo, except that I tried to improve the key shortcut situation a bit, and it has a progress indicator.
I’ve been using it for a while now, and the only features of real browsers that I miss are pretty simple to add – text find, a refresh command. I just haven’t needed them that much. Sadly, one feature I’d love to add to GMail, a key shortcut to “go to inbox”, eludes me, since their Javascript is pretty obfuscated. Update – “go to inbox” already exists as the sequence “gi”.
Meet WebMail.app
If you want to try out this idea without the hassle of writing those ten lines yourself, get a tarball here: Webmail-1.0.tgz and let me know what you think.
The source is in there, it’s BSD licensed, and I’ll happily accept patches that make it more useful for email, but remember that making it more useful for general browsing is kind of not the point.
Oh, and it lacks a real icon. Sorry.
Update much later: a new version that supports printing and attaching files is available here: Webmail+printing+attaching.zip
Shashi Prabhakar 7:03 pm on May 17, 2006 Permalink
Michael- Nice. I wanted to write one something like it – a Google App- with tabs for mail; calendar; notepad; maps etc. Some notification in the dock will be nice too. I will try to add some code and upload. I concur with your need to have an application for utilizing all the features of GMail; GMaps etc. without having to load it in ones primary browser.
Shashi
Gmail’e özel tarayıcı at Mac Dünyası 8:13 am on May 24, 2006 Permalink
[...] Michael McCracken‘in geliştirdiği Webmail, yalnızca Gmail hesabınız için kullanabileceğiniz, özel bir tarayıcı. Webmail aslında, WebKit tabanlı ve BSD lisansıyla dağıtılan, çok basit bir uygulama. Ama sitesinde yazdığına göre, geliştiricisi içi anlamı büyük ve gerçekten de hoş bir düşünce. [...]
36 Degrees Design » mia: my stat needs fulfilled! 4:29 pm on May 26, 2006 Permalink
[...] Having seen Michael McCrackens excellent idea to create a single site web viewer (not a browser, becuase you can’t browse!) for Gmail, I thought it might be a nice introduction to mac applications – and Xcode – to have a play around and create a stats viewer for my website. [...]
Frank Segebade 1:06 pm on May 29, 2006 Permalink
Hello Michael, i am Frank from Germany and i am an little Developer. I have translate Webmail in German. When you want i sent you the german.iproj.
Thanks
Frank Segebade
Mark Millard 3:32 pm on June 2, 2006 Permalink
Thanks Michael!
Any way to make hyperlinks within a gmail message open in Safari instead of within WebMail?
Red Sweater Blog - Learn Python 3:47 pm on June 2, 2006 Permalink
[...] This trick is OK, but while I was taking this tutorial, I got annoyed by having to constantly flash back and forth between the web page and my Terminal window. The Python tutorial introduces you to ideas that, if you’re anything like me, you immediately want to try out in the interactive shell. I decided to take a cue from Michael McCracken, who recently produced and distributed a dumbed down web browser just for reading Gmail. [...]
nil 6:45 pm on June 2, 2006 Permalink
The default font size seems a little large, no? Adding
[webView setTextSizeMultiplier:0.8];
to line 40 of MyDocument.m makes things look more “normal” (well, for me at least)
Dan Brendstrup 10:00 am on June 5, 2006 Permalink
Sweet! Great program!
If you also install MegaZoomer, you get full-screen distraction-free webmail! :)
Scott 11:11 pm on June 20, 2006 Permalink
Any chance of getting something like this for the new Yahoo! Mail beta? (I know, I know… you’re a gmail user, but it can’t hurt to ask, right?)
Administrator 12:47 pm on June 21, 2006 Permalink
Scott: I’m probably not going to release a version for Yahoo Mail, but if you want to just change the source and rebuild, there’s only one line in the whole project you’d need to change – just search for the URL where it says “http://gmail.google.com/gmail”, change that to the Yahoo URL and rebuild in XCode.
Earl 5:05 pm on July 1, 2006 Permalink
This thing is great, but I agree that attachment support is necessary. In fact, any interaction that pops up OS windows (like removing a label or sending without a subject) doesn’t seem to supported either. I don’t know if you plan to work on this further, but it’s got great potential.
BTW, I love bibdesk as well.
hakan yucel 11:48 am on July 12, 2006 Permalink
good very good ….what have you done :)
GeschäftsMac » Blog Archive » Backpack 1:38 pm on July 13, 2006 Permalink
[...] I found the Gmail browser by Michael O. McCracken (http://michael-mccracken.net/wp/?p=44), modified it to work for Backpack and of course released it under the same BSD license Michael did. The source code is available as well. [...]
Russ 6:40 am on July 14, 2006 Permalink
Gmail browser… Ive been using deskbrowse which i found realy easy just set the home page to gmail.com.
APC Magazine » Gmail and GCal without distractions 1:25 am on July 21, 2006 Permalink
[...] Michael McCracken tells a story that repeats itself in front of computer screens all over the world: Every time I check mail, I’m diving right into the world’s biggest time-sink. My email isn’t usually a waste of my time, but all the windows I’ve left floating around, my bookmarks bar, or a quick Google search are. These are the things that eat up afternoons, and webmail is a gateway to that distraction. [...]
nana 7:06 am on July 23, 2006 Permalink
Is there a way by which a) I can reduce the font size b) make it go straight into my inbox and bypass the login page?
Thanks.
David 7:57 pm on July 27, 2006 Permalink
Is there a reason that some of the links don’t work? For example, I cannot use the “Delete all spam messages now” link.
Administrator 2:05 pm on July 30, 2006 Permalink
nana: there are people working on more featureful dedicated webmail readers, but I’m not one of them. There’s no way to do what you ask in webmail.app, but you’re more than welcome to add it and share your changes in a patch!
David: I don’t know why some links might not work. Try the site in Safari and see if the problem persists there – if it is really only in WebMail.app, then I don’t really know how that might happen.
Folletto Malefico 7:45 pm on August 4, 2006 Permalink
This. Rox.
Also because it is a big piece in a puzzle I’m trying to build… may I ask your mail to contact you privately? I haven’t found it here… :(
Ben 12:24 pm on August 7, 2006 Permalink
Is there anyway you’d be willing to make a version of this that would work for Basecamp?
Thanks!
Administrator 12:38 pm on August 7, 2006 Permalink
Ben, check out my comment from June 21st: http://michael-mccracken.net/wp/?p=44#comment-171
It’s pretty easy to change this to be anything you want. Make the one URL change and do a global search and replace for WebMail to “Basecamp” in XCode. In Interface Builder, just change the menu labels in the MainMenu.nib file and the window title in WebMail.nib.
I won’t be making new versions of this, unless it’s for something I use every day.
Ben 4:14 am on August 8, 2006 Permalink
In case anyone else might want it — I took Michael’s instructions, and made a “Backpack Viewer”. Very handy for those that use Backpack. It can be grabbed here: http://bendelaneycreative.com/backpack/Backpack.zip
matt 12:06 pm on August 15, 2006 Permalink
Michael, who are these other people who are developing this idea and where are their web pages? Thanks.
Administrator 12:26 pm on August 15, 2006 Permalink
matt: In the week or so after I first posted this, at least three people emailed me to say they were developing a more-capable version of this, and I even saw one beta version. None of them had announced it yet, and since then, I haven’t seen any movement.
If you’re waiting patiently to use an improved version, I’m not sure what to tell you. Hang in there? Post about it on your weblog and I’ll link to it?
If you’re wondering whether or not there’s room to step in and launch your own improved webmail.app, I’d say there probably is, especially if you release early and often, and there could be a lot of people who’d help out if you were to start an open-source project.
Mark Birbeck 7:25 pm on August 23, 2006 Permalink
Now I know you guys are into Macs, so what I’m about to say may not be too pallatable. ;) But in the interests of sharing ideas, if not code, you might want to take a look at a recent post on my blog.
It links to a couple of other posts, and has some screenshots, all based around using Sidewinder to managed Ajax applications like KoolIM, GCal, GMail, and so on. One of the latest new features is the ability to intercept the requests for new windows that apps like KoolIM make, and substitute a docked, autohiding, transparent, opaque window instead.
It’s currently Windows-based, with plans to port, but for now I mention it in the spirit of getting some discussion going about what sort of features an ‘application container’ should support.
All the best,
Mark Birbeck
James Trammell 9:37 am on September 25, 2006 Permalink
This is great, and I’ve modified it a little in Xcode to make it perfect for me. But how would we hack Gmail Notifier to launch WebMail instead of Safari? I’m using Gmail Notifier 1.8.2.
Chris Ramstedt » Here we go again 10:00 pm on October 10, 2006 Permalink
[...] I borrowed an idea from Michael McCracken and “programmed” my own applications for gmail, 3 Wordpress blogs, Google News Reader and gCal. They take up a lot less memory, since they are just basically web pages rendered on the Safari engine (Mac) and they work for most of my day-to-day stuff. So, back to the website… I’m hoping to get everything moved over to this new page soon, but it’s not that high of a priority right now. I’ve got bigger fish to fry, but more on that later… [...]
Kevin Horn 2:22 pm on October 19, 2006 Permalink
Nifty little program, I can find one flaw, when I click on the link in a gmail email that link opens in WebMail not in my browser. A little annoying.
What is cool about this app is I can keep my Gmail separate from my browser but the link feature kind of ruins that.
Damian 2:16 am on December 17, 2006 Permalink
…the icon you need is here: http://interfacelift.com/icons-mac/details.php?id=1846
Richard Soderberg 5:18 am on December 22, 2006 Permalink
Happily, the navbar links at Gmail (Calendar, Groups, etc.) each open in a new Webmail.app window. I’m not really using it for its intended purpose, but as a thin webapp client it’s very handy. Cheers!
Damian 12:26 pm on December 23, 2006 Permalink
Great concept. I’m using it in tandem with Gcal. Once you graft a better icon onto it, you can command-tab right to the google mail or calendar.
However:
Could this be done based on another rendering engine? Safari/Webkit does not support composing styled text in Gmail. Maybe the next version of it will when Leopard comes out.
Also, attachment support is missing.
Office 12 Watch » Gmail Time Sink? 8:28 pm on January 2, 2007 Permalink
[...] Do you get distracted when you’re checking your Gmail though? I’ve never really thought about it really, but Michael McCracken seems to have a problem focusing and BurgerBlog has written a tiny browser to help him out. [...]
Jason 10:26 pm on February 9, 2007 Permalink
This is a great idea. As per the comment above, is there anyway to duplicate this program using a different rendering engine, say, Mozilla’s? That way, the new right-hand side bars would work, as would GCal. But, great idea and program!
Local Insanity » WebMail.app 2:44 pm on February 25, 2007 Permalink
[...] there’s this little app to access GMail which uses WebKit and runs outside of any particular browser. It’s nice to be [...]
Brian Donovan 2:47 pm on February 25, 2007 Permalink
I made a few tiny changes to the app and posted it on my site. You can read about it at http://brian.maybeyoureinsane.net/blog/2007/02/25/webmailapp/.
Ben Willmore 1:42 am on March 1, 2007 Permalink
Great idea! I added the ability to deal with attachments, and an icon. See http://brian.maybeyoureinsane.net/blog/2007/02/25/webmailapp/
I’ll send you the source if you’re interested.
Ben Willmore 1:43 am on March 1, 2007 Permalink
Great idea! I added the ability to deal with attachments, and an icon. See http://willmore.eu/gmailbrowser
I’ll send you the source if you’re interested.
Mark Finkle’s Weblog » Site Specific Browser - WebRunner 3:53 pm on March 6, 2007 Permalink
[...] GMail in a WebKit application: Nice application in separate process. [...]
Sopan 9:35 am on June 14, 2007 Permalink
Now only if you could write it for Windows…
Russ 3:38 pm on August 20, 2007 Permalink
How about some tabs for Calander and spreadsheet
mike 10:02 pm on August 20, 2007 Permalink
Russ and others – check out http://www.alloutsoftware.com/hana/
I haven’t had a chance to evaluate it yet, but it looks interesting.
Gmail unBrowsered | saulrosenbaum.com 3:21 pm on October 11, 2007 Permalink
[...] I won’t be using Hana, but I found a gem in my travels, Webmail.app, a little bit of webkit, served up by Michael McCracken, it only does gmail, it’s devoid of [...]
Simon Dorfman 9:09 pm on October 14, 2007 Permalink
Idea: add support for a custon CSS file so that this hack [1] can be used to block gmail ads. Or just bake it in and make it a feature in the preferences to block or not block ads.
[1] http://my.opera.com/kuad/blog/block-gmail-ads
Site-specific browsers and GreaseKit | FactoryCity 2:33 am on October 23, 2007 Permalink
[...] McCracken deserves credit for inspiring interest in this idea early on with his Webmail app, that in turn lead to Ben Willmore’s Gmail Browser application. Bother literally took [...]
Ken Ryland 6:12 pm on November 12, 2007 Permalink
I tried to use Webmail and was unable to attach a file to my message. Is that something that will no longer work because of Google’s reconfiguration of gmail to allow IMAP access? Is this something that you will fix?
KVR
Administrator 11:50 pm on November 12, 2007 Permalink
Ken, the IMAP change didn’t affect WebMail.app much – it actually never supported attachments.
I did add that to a development version a little while ago and I keep forgetting to post about it. You can find it here. It supports printing pages and attaching things to new messages.
Cheers, -mike
Memoria de Acceso Aleatorio » Safari 3 para Windows: algo más que un navegador 1:34 pm on December 9, 2007 Permalink
[...] Michael McCracken: Webmail.app [...]
Manuel 5:37 am on January 5, 2008 Permalink
Any chance you will do this for Google Calendar? How much work would entail to change it for that purpose? We might be able to have your standalone Google Calendar handle the webcal: protocol, thus making it easier to “subscribe” to calendars and to add events to Google calendar from other Mac Apps.
mike 3:02 pm on January 5, 2008 Permalink
@Manuel – other people have run with this idea quite a bit since I’ve last worked on it. For a GCal-specific browser, check out http://chip.cuccio.us/projects/gcal
For links to many other similar projects, check out http://webkit.pbwiki.com/
ash 2:08 am on December 14, 2008 Permalink
Great app. I know some people may not understand, but myself, who has more gmail accounts than browsers – its nice to have another option. Will be part of my routinely used programs for sure. taa