I confess (not that you might not know, but still…) that I am a mac user. I have been for some time now and I quite like it. As such I have got used to using Mail.app for checking my email although I am well aware that it is by no means the best email client ever. Nonetheless, I do use it, and I do in conjunction with some useful plugins such as TruePreview and Universal Mailer that help improving the experience. TruePreview lets me scan an email without marking it as read, whereas Universal Mailer removes some annoying ATT00001.htm files that recipients get and correctly formats messages with attachments and inline images. They both work quite well… until Apple decides to upgrade the Mail.app and disables the plugins. One thing that you can do when this happens is to shake your fist in the air, curse a bit and wait until the plugins get updated. Or… you can try this and hope that the plugin starts working by adding the correct Universally Unique Identifier, or UUID, to the plist file. Here is how and please note that the UUID values quoted are valid for Mail.app 6.6 (OS X 10.8.5):
- Quit Mail
- Open Terminal
- Type: cd Library/Mail
- If you request a list of the files (using ls) you should see a folder like “Bundles (Disabled)”
- Type: cd Bundles\ \(Disabled\) – Note that the folder may be numbered, so check the contents…
- If you are trying to fix TruePreview then type: cd TruePreview.mailbundle/Contents
- If you are trying to fix Universal Mailer then type: cd UniversalMailer.mailbundle/Contents
- This may also work for other plugins… so check the correct folder.
- Once you are in the correct folder for the plugin, type: open -e Info.plist
- The command will launch a text editor and you will be able to edit it. Go towards the end of the file and add the following lines:
- Type: cd ../..
Now we need to move the “Disabled” plugin to the working folder. For TruePreview type: mv TruePreview.mailbundle ../Bundles
A similar command can be used for other plugins
Finally, launch Mail
- And Voilà
So, what happens next time that the Apple gods decide to update Mail? Well, you can obtain the correct UUIDs as follows:
defaults read /Applications/Mail.app/Contents/Info PluginCompatibilityUUID
defaults read /System/Library/Frameworks/Message.framework/Resources/Info PluginCompatibilityUUID
Each of them will return a two different strings that are the new UUIDs for Mail.app running under. You then need to add those strings to the info.plist file as explained above.
This may come handy when Mavericks is finally out… Then again, things may have changes a lot behind the scenes…
Let me know if you have found this tip helpful!