GrowlMail on Snow Leopard: A Temporary Fix
[Update: Hunter Ford has taken the time to extend my very basic script so that it includes the details of the sender and an extract of the text of the mail in the Growl notification. Head over there and grab the new script: it's way better than mine.]
If you use GrowlMail, you’ll be disappointed to learn that it doesn’t work on Snow Leopard yet. Since I keep my dock hidden, without GrowlMail I don’t know that I’ve received mail unless I roll over the dock, which is frustrating and adds a little bit of background anxiety to my day.
While the awesome Growl team are working on a fix, here’s a small AppleScript that I wrote to give me a notification whenever a mail arrives. It’s less functional than the full thing because it doesn’t tell you anything about the mail other than it has arrived.
There’s no title, summary or who it’s from like there is with GrowlMail, but that’s good enough for me as a stop gap. If you figure out a way to include those details, I’d love to hear about it though.
Anyway, the script.
tell application "GrowlHelperApp"
set the allNotificationsList to {"New Email Arrived"}
set the enabledNotificationsList to {"New Email Arrived"}
default notifications enabledNotificationsList icon of application "Mail"
notify with name "New Email Arrived" title "New mail" description "New mail arrived." application name "Mail Notifier"
end tell
Copy that into AppleScript Editor (as it is now called in Snow Leopard), or you can download it from here. Save it somewhere sensible (I used /Library/Scripts/Mail Scripts)
Then, add a rule to Mail for every mail that arrives and have it run the AppleScript. Here’s a screenshot:

And that’s all there is to it. Hope you find it helpful.
Comments
9 Responses to “GrowlMail on Snow Leopard: A Temporary Fix”
Leave a Reply

Nice workaround James! It’ll hold me over until the growl team’s up to speed.
GrowlMail is actually already fixed in the mercurial repository. I think Peter just fixed the last remaining issue with GrowlSafari. he should be building the 1.2b1 Growl dmg soon.
Woot! I can’t wait to finally be using a fully 64bit enabled version of Growl.
Yet another must-have app I can knock off the list now that I’ve upgraded to snow leopard.
Thanks – this is great!
Thanks for this – really helpful!
You have inspired me to write a script that includes all the details of the message in the growl notification.
I hope you find it helpful!
http://www.cupcakewithsprinkles.com/growl-notifications-for-apple-mail-on-mac-os-x-snow-leopard-10-6/
@Hunter – that’s awesome! I’ll update the post to point people at your solution.
Works a treat, and will do nicely till GM is fixed. Thanks!
thanks it works @HUNTER FORD and @Jame.
it works.