let's pretend that tonight was productive
My sister emailed asking for webmail recommendations, and of course I sent her a now-superfluous Gmail invite. For some reason this got me thinking about the site, and one feature I wish it had: color-coding of messages. This feature was one of my favorite things about Thunderbird prior to an unfortunate incident involving a massive loss of email and sworn oaths to never use the product again.
But, for the period when I still had my mail, it was easy to set up filters, and quickly tell which messages were from work, which were from the blog, and which were from the various mailing lists to which I'm subscribed. I've got several email accounts pointing at my Gmail address — filtering through the messages at a glance would be handy. And no, I will not just look at the text labels, goddammit.
So I took a crack at making a GreaseMonkey script that provides that Thunderbird-style functionality. Check it out. It color-codes your messages by label. There are only six colors in there at the moment; if you've got more labels than that, some will repeat (and others may be skipped, if they're not present on a page).
It needs some work. Allowing users to customize the colors would be good; so would un-breaking how Gmail highlights rows when you select them. Interested geeks should feel free to have at it.
UPDATE: Wolfson's pointed out that the script ought to be wrapped in an anonymous function. And it appears that when Gmail makes an AJAX callback to check for new mail it drops the formatting. Which means I'll have to dig into Gmail's javascript to figure out which function needs to be overridden in order to reestablish the formatting whenever that check happens. Nuts. Well, it still looks kind of cool.
