protocol7 archive
20 October 2007

Isn't that work email?

I’m using GMail for both my personal and my work email. That means I have to remember to choose the correct From address for different recipients. I usually don’t.

Greasemonkey to the rescue. I searched userscripts without finding anything that matched my needs, so I wrote one. It quite simply asks you for your work email and a set of patterns to match for. For every email you then compose, it will search the To field for the patterns. And if one match, and your From address doesn’t, it will warn you. Works for me. For the patterns, I keep a list of the domain names for the clients and partners I work with.

Now, this is my first Greasemonkey script so please be kind, but report back any troubles or improvements. Also, I’ve found that other scripts I’ve used for GMail as frequently broken due to Google updating the site, if this happens to this script I’ll be happy to keep it in shape if you remind me.

Technorati Tags: gmail, greasemonkey, userscript

tags: Uncategorized