Export Apple Mail

In Troubleshooting Apple Mail in OS X 10.11 El Capitan, a user asked:

My question is will the Mboxes import back to Yosemite after being used in El Capitan, what I mean is can you go back to V2 from V3.

The short answer is, yes, if you export your mailboxes in Mail, you can import back into Yosemite Mail using File > Import > Apple Mail.

import-applemail

However, you must revert OS X 10.11 El Capitan to OS X 10.10.5. Reverting is not an easy process. Many files that upgraded like Mail from V2 to V3,will also have to be reverted to previous version. See Apple’s KB: Revert to a previous OS X version using Time Machine.

I would advise users that are having issues after upgrading to El Capitan, try to resolve their problems than try reverting. See Before upgrading to El Capitan Mail for tips that will help to nuke your failed  El Capitan Mail upgrade.

Some users have opted to move to a new User rather than fix the issues in their current User’s folder. You can test Mail first in a new User to verify the problem is in your User’s folder and not with your OS X install files.

You can use the Guest User or create a new User for testing. When you log out of Guest, all data entered will be erased. I suggest creating a test user in case you end up moving to the new User or simply want a clean environment to test future issues.

First grab your email settings and passwords. You can save these to the Shared folder for access in the new User.

Your Hard Drive/Users/Shared

Shared folder

 

CREATE A NEW USER

Go to System Preferences –> Create a New User in Users & Groups.
Switch to the New User by logging out/in or use Fast User Switching.

You can skip the Apple ID setup unless you are testing iCloud.
Select Don’t Sign in > Continue > Skip

Only default Apple apps will be in the Dock in the new User. Go to Applications to open other apps you might want to test.

Open Mail and add your accounts. I would add one at a time and let it download from the server before adding additional accounts.

Note: Any POP mail you download in the test User will not be available unless you set to “leave on server”. Under Advanced tab in Accounts, do not check the box to remove copy from server…

POP-los

If you are happy with Mail in the New User, make sure it’s set for Admin status. See this article to help moving your other data to the New User.

Export Mailboxes

Apple includes an export option under Mailbox in the Menu bar. This will export your data as an Apple mbox file. This is not a standard .mbox file. Only Apple Mail can import this type of .mbox file. This .mbox will import into any version of Apple Mail.

Mail-Export

You do not need to export your IMAP or Exchange folders. You simply add the accounts back and let the messages download from the server.

You do need to export your POP accounts (Inbox, Drafts, Sent, Trash* and Junk*) and any mailboxes (folders) under “On My Mac”.

*Optional

Select all Mailboxes you want to export. You can select all the top default items (Inbox, Drafts, Sent, Trash, Archive, Junk, VIPS, Flags.

[Tip: Export each account’s default folders into a folder with account name. Otherwise, if you select all Inboxes you’ll get folder names like INBOX, INBOX 1, INBOX 2, etc.

Do not just select the top Unified root folder. Expand to show all Inboxes, Drafts, Sent etc.

Under Mailbox select Export Mailboxes…

Choose a destination folder. Be sure to click on Options to get the box: Export all subfolders.

Export-all-subfolders

After exporting default items, select all the local “On My Mac” folder. Be sure to include subfolders.

Note: you can manually expand all folders to view subfolders. Select all in the expanded view to export.

Note: You can export Smart folders, Flags and VIPS like a regular mailbox. Smart folders with MailTag keywords caused Mail to crash for me.

Move your data to a new User or a new Mavericks partition

Testing in a new User will quickly tell you if the problem is system wide or if it’s your User’s folder that contains the problem. more info

If the problem is your current User and you are unable to locate the source in your old User, you can use these steps to move to the new User.

If you continue to see the same problems in a new User, this indicates problems at the base level. See Below for instructions.

Transferring files from one account to another on the same Mac

You can move to the other User via the Shared folder.

shared

Create a folder in shared for Desktop. I like to use folders I create not the root folders in Users. Drag items from Desktop into the “desktop” folder you created. If you drag the root folder it can give you permissions issues when you copy into the new User.

shared.

Drag items from Desktop into the “desktop” folder you created. I like to do one folder at a time.

  • Log out of the current account under the Apple in the Menu bar or use Fast User Switching.
  • Log into new User.

Add Shared folder to Toolbar in the new User for easy access. Hold Option key when dragging an icon to the Toolbar in Mavericks to add.

shared..

Drag items from Shared folder “desktop” (it actually copies) to the Desktop.

Log back into the original User.

Delete the files from Shared desktop folder you copied over to the new User. If you are low on disc space be careful since the process copies data. Move one item at a time then delete the original before starting the next copy.

Continue doing this for Documents, Music, Movies, Pictures etc.

The User’s Library folder is one you need to be very careful in what you bring over. Most likely the issue is in your User’s Library. Mail and most of the items in Application Support are safe to bring over. Bring over the Safari and Calendar folders only if you are not syncing via iCloud. Keychain can be brought over but best to start fresh. Keychain tends to keep a lot of old entries and starting fresh eliminates all the crud that has accumulated.

Remove old User after you have all data copied to the new User. Go to System Preferences > User’s & Groups. Select the account and click on the – to remove. You might want to leave the original User with the User’s Library in case there is something you really need but did not move over.

Transferring files when data is another drive or partition

This assumes you have either cloned your drive or backed up your data and have installed Mavericks on a new drive and need to move your data over to the new install. While Migration is an easy step it can bring over old files you do not want.

First make sure the User’s Library folder is made visible before switching to the new User.

Instead of using the Shared folder as described above, this time we will setup two Finder windows to transfer the data. Set one window for the new Mavericks User. Set the second window to show the User’s folder on the other drive. Drag your data from the old folders to the new Mavericks folders.

To make a Finder Window, select File > New Window

newfinderwindow

To view the other drive open Finder > Preferences > Sidebar > Devices

finder_prefs

 

Check to show Your Computer and Your Hard disks.

finder_prefs.