20080903

One-Button Unread Mail for GMail

At work, I'm often called upon to serve as the guru for all things Google Apps. The fact is sometimes lost that (a) working on the innards of something and (b) being the expert at all its glorious features are two quite distinct propositions.


It doesn't help that I don't just dismiss some of these questions, perhaps out of fear of ridicule ("Hey, shouldn't you just ... know that? I mean, weren't you paying attention?")

Yesterday, a colleague asked if there's a way to see just the unread messages in GMail. "Of course," I said, "just search for 'is:unread'", and proceeded to show him "has:attachment" and other neat conditionals.

But then he raised the stakes and asked if there's a way to search unread mail with a single click. That took me a good part of the afternoon, because the GreaseMonkey scripts I found on the net were all old or non-functional in some way.

So I created a simple one. Its adds a "Search Unread" button to your GMail UI. You need GreaseMonkey to use it. So...
  1. Install GreaseMonkey: https://addons.mozilla.org/en-US/firefox/addon/748
  2. Install my script: http://userscripts.org/scripts/show/33056

Meanwhile, with Google Apps, I do reserve a few undocumented or otherwise not-so-well-known tricks to distract my young Skywalkers when next I'm cornered and stumped.

And now that I'm all wound up, if you've got a great need for some GreaseMonkey UI enhancement for Google Apps, let me know.



081012 Update: The GMail UI changes its element IDs from time to time. I've posted a fix to follow the latest change.




100225 Update: I've posted a more robust version.