OSX Quick Tip: Back-up your Mail with Automator

Table of Contents

Today’s Quick Tip comes from macosxhints.com.  This simple Automator workflow will back up all of your Mail for you

1. Start Automator
2. Drag drop ~/Library » Preferences » com.apple.mail.plist and ~/Library » Mail into the Automator panel. This will automatically create an Automator action (Get Specified Finder Items) containing the two items you dropped.
3. In Automator’s Library column, go to Finder and choose Create Archive. Drag it to the work area on the right, below the existing command. Change the ‘Save as’ value to something other than archive, if you wish.
4. In the Action column, drag Rename Finder Items into the work area, below the other two commands. By default, this will add a date and time stamp to the existing filename.
5. Save the whole Automator workflow as a Program (you can choose this option in the Save dialog).

This workflow will create a file named Archive-xx-xx-xx-xx.zip in your Documents folder (unless you changed some of the settings) containing a zipped archive of your Mail folder and settings for the current user.

You can tweak this workflow in Automator to ensure that it works best for you, but the basics here should get you up and running.

Disclaimer: Please note that some of the links in this article may be Amazon affiliate links. This means that if you make a purchase through those links, we may earn a commission at no extra cost to you. This helps support our website and allows us to continue providing informative content about Apple products. Thank you for your support!

Leave a Reply

Your email address will not be published. Required fields are marked *

Share the Post:

Related Posts

Happy 31st Apple!

Today marks the 31st Anniversary of Apple. It’s been an amazing 31 year run with no signs of stopping. Don’t expect to see much in the way of celebrations or

Read More