Restore Mail.app Backup to GMail

4

2

I have my GMail account setup with Mail.app using IMAP. I accidentally deleted my Sent Mail through Mail.app, emptied the Trash. This propagated to the cloud, and I lost all my Sent items.

The one smart thing I was doing was backing up. So I have the Mail.app backups. I reverted to a backup which had my Sent Mail and started Mail.app back up. Upon restart, my Sent Mail was back, but then disappeared on first sync, because it looks like it pulls email statuses from GMail down to Mail.app, where as I need to push an entire folder/label/mailbox to GMail.

So to sum it all up: How do I sync with GMail using Mail.app so that my local email is pushed to the cloud?

Thanks.

A Salim

Posted 2010-02-17T00:57:05.203

Reputation: 141

Use Pop3 next time and leave a local copy on the other server for Mail.app if you want to. – Ivo Flipse – 2010-02-17T06:45:58.997

POP3 is NOT the right answer. POP3 needs to die. IMAP is the right choice. Auto-sync can be overridden. – Alex – 2010-03-16T00:45:50.417

Answers

2

  1. Disconnect from the internet
  2. Restore your Mail.app backup
  3. Open Mail.app, and copy the messages from the GMail sent folder into a new local folder
  4. Connect to the internet and sync. The messages in your sent folder should dissapear
  5. Drag the messages from the newly created local folder back into the sent folder in GMail

John Douthat

Posted 2010-02-17T00:57:05.203

Reputation: 581

I believe this is the correct answer. – Alex – 2010-03-16T00:46:08.823

0

Wow, quite a costly accident! Rather than restoring the entire backup, try to import just the Sent Items folder into your current Mail.app. It will be in its own folder under Imported Mailboxes (or something like that). Then move the mail from the imported Sent Items folder to your actual Sent Items folder. That should propagate to the server.

fideli

Posted 2010-02-17T00:57:05.203

Reputation: 13 618

I wonder if that actually works. – cregox – 2010-02-27T15:41:59.297