Fixing WideMail after OS update

I created a little script for myself to make it easier to extract the new compatibility UUID’s from and add them to WideMail so that it does not get disabled as an unsupported plugin. I cannot guarantee it will always work (it might actually get really broken at some point), but it does confirmed work for upgrades to OS X 10.6.4 and OS X 10.6.5.

# Little script to find the UUID's of after an OS upgrade
# and insert them into the WideMail plug-in
newMailUUID=$(defaults read /Applications/ PluginCompatibilityUUID);
newMsgUUID=$(defaults read /System/Library/Frameworks/Message.framework/Resources/Info PluginCompatibilityUUID);
defaults write
[path_to_widemail_bundle]/Contents/Info SupportedPluginCompatibilityUUIDs -array-add "$newMailUUID";
defaults write
[path_to_widemail_bundle]/Contents/Info SupportedPluginCompatibilityUUIDs -array-add "$newMsgUUID";

Layout gets a bit screwed, but every line end with a ‘;’. Widemail is typically installed under /Users//Library/Mail/Bundles/WideMail.mailbundle. The same principle obviously works with plugins like GrowlMail. I hope this helps some people.

Until next time. Happy