Skip to content
Arca Mail Backup

Blog

Time Machine and IMAP email: what it really backs up

Time Machine backs up the local copy Apple Mail keeps of your IMAP account, which can be incomplete. What's covered, what isn't, and how to get mail back.

  • Published
  • 5 min read

Time Machine does back up your IMAP email, but only the part Apple Mail has stored on your Mac. With an IMAP account (Gmail, Outlook.com, iCloud, your web host) the original lives on the server, and Mail keeps a local copy that may not be complete: some attachments aren’t downloaded, some folders aren’t visible, and messages disappear from the Mac as soon as they’re deleted on the server. Time Machine copies that local copy, gaps included.

For plenty of people that’s a reasonable safety net. For others it’s a false sense of security. Here’s how to tell which one you are.

Where Apple Mail keeps your email

Mail stores its data in the ~/Library/Mail folder in your user account, inside a versioned subfolder (something like V10) whose number changes with macOS releases. That’s where each account’s mailboxes live, with one .emlx file per message, plus the index Mail uses for search.

For an IMAP account, that folder behaves like a cache. The server is in charge: if a message is moved, deleted or marked as read on your phone or on the web, Mail mirrors that change on the Mac at the next sync.

Time Machine backs up the files on your Mac, “including apps, music, photos, email, and documents,” as Apple puts it. So ~/Library/Mail is in the backup. The useful question is what’s in that folder and what isn’t.

What the local copy can be missing

Attachments Mail didn’t download

Each account in Mail has a Download Attachments setting. According to Mail’s help, media attachments (images, PDF, video, audio) are always downloaded, but for other types (spreadsheets, ZIP files, documents) you choose All, Recent or None. Recent only downloads those received in the past 15 months.

If your account is set to Recent or None, the message is on your Mac but that spreadsheet from three years ago isn’t. Time Machine backs up the message without the attachment.

Folders Mail can’t see

In Gmail, every label has a “Show in IMAP” checkbox. If it’s unchecked, Mail never sees that label and doesn’t download messages that only carry it. Gmail also has a Folder size limits option under Forwarding and POP/IMAP; if someone turned it on, IMAP folders only expose a set number of messages. What never reaches the Mac never reaches Time Machine.

Mail that hasn’t synced yet

On a freshly set-up Mac, or with a mailbox of many gigabytes, Mail can take hours or days to pull everything down. A Time Machine backup taken halfway through is incomplete.

Accounts you only use on your phone or the web

If you have a second account you only check on your iPhone, it isn’t on the Mac, and Time Machine never touches it.

The deletion problem

This is where most of the confusion comes from. Say someone gets into your account and deletes a whole folder, or you delete something by mistake and empty the trash.

  1. The message disappears from the server.
  2. Mail syncs and removes it from the Mac too.
  3. The next Time Machine backup no longer contains it.

Older backups still have it, but not forever. Apple says Time Machine keeps hourly backups for the past 24 hours, daily backups for the past month and weekly backups for all previous months, deleting the oldest ones when the backup disk fills up. On a small backup disk with a busy Mac, those old weeks drop off.

And if the Time Machine disk isn’t connected (a laptop that rarely meets the drive at home, for example), nothing new gets backed up until you plug it back in.

How to get mail back from a Time Machine backup

What you don’t want to do is restore the whole ~/Library/Mail folder over the current one while the IMAP account is active: Mail will sync with the server again, and anything that’s gone from the server may vanish again. The safer route is to treat the backup as something to import:

  1. Open Time Machine and go to a date when the mail was still there.
  2. Restore the mailbox folder you need (inside ~/Library/Mail/V…) to a separate location, such as your Desktop. Don’t restore it over the original.
  3. In Mail, choose File > Import Mailboxes, select Apple Mail, and pick that folder. That’s the option Apple documents for importing a folder from ~/Library/Mail.
  4. Mail puts the messages in a new local mailbox named Import. It lives on your Mac and doesn’t sync with the server, so it won’t empty itself.
  5. If you want them back on the server, drag them into a folder in your IMAP account.

If a message was deleted before Mail ever downloaded it, or its attachment was never fetched, there’s nothing in Time Machine to recover. Other options are covered in how to recover deleted emails.

So is Time Machine enough?

It depends on what you’re trying to protect against.

It’s enough if your main worry is the Mac dying, Mail has everything downloaded (attachments set to All, every label visible), and the Time Machine disk is connected often and has room for months of history.

It falls short if you want a complete copy of the account regardless of how Mail is set up, if you need to keep what gets deleted on the server without relying on an old snapshot still being on the disk, or if you want to open your mail without a Mac. .emlx is Mail’s own format, and a Time Machine backup is read with Time Machine, while an mbox file opens in almost any email program.

Time Machine also usually sits on a drive next to the computer. To meet the 3-2-1 rule you need another copy offsite, for example in a Backblaze B2, Wasabi or R2 bucket.

How Arca Mail Backup handles this on the Mac

Arca doesn’t depend on what Mail has downloaded. It connects to your account over IMAP directly (Gmail and Google Workspace with an app password, Outlook.com and Microsoft 365 by signing in with Microsoft, any other IMAP account with server, username and password) and backs up the full mailbox into standard mbox files, one per folder and month. Mail deleted on the server stays in the backup, marked as deleted, and you can search for it and put it back into a new folder in the same account without touching what’s on the server.

What you already have in Apple Mail isn’t lost either: Arca imports mailboxes exported from Apple Mail as a searchable offline account, and that’s part of the free plan. Time Machine can keep doing its job; it just won’t be your only copy of your email anymore.

Arca for Mac (macOS 14 or later) is in the Mac App Store, free for one account. If you also use a PC, it’s in the Microsoft Store too.

All posts

Mac, Windows and Linux

Start with one account, free.

Get Arca Mail Backup from the Mac App Store or the Microsoft Store, or download the direct version from this site, which is also the one for Linux. It's free for one account, and Arca Pro adds more accounts, NAS and S3 storage.

All downloads

Arca Pro bought in a store doesn't unlock the direct version, and the other way round. Why