Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Removing duplicate emails in Lion/iCloud

Hey all,


So, I made the transition from Gmail to iCloud (I always used the Mail app).


As part of this transition I have now ended up with duplicates of a whole bunch of my emails, which is super annoying.


Has anyone got any tips on how to remove these please?



Things I have already tried:


DupeZap & TidyUp (removed a few duplicated and loads of duplicate attachements)

Araxis Find Duplicate Files (removed a few duplicated and loads of duplicate attachements)

Adreas Aman mail scripts (didn't work)

Mail Steward (didn't help)

The scripts on here: http://hints.macworld.com/article.php?story=20100126104840894(didn't work)

Rebuilding mailboxes in Mail


So the first two helped a lttle bit - detected about 800 items each, but there are still tons of duplicates I can't seem to remove (unless I manuall go through them all, which would take a month!).


Like this:


User uploaded file


Note: some of the messages with duplicate items reside on my iCloud , some of them are just in mail boxes "On My Mac".


Anyone got any tips to remove them all?


Thanks in advance!

MacBook Pro (2011 Quad 2.3 i7), Mac OS X (10.7.2), 8Gb Ram, 250GB SSD

Posted on Oct 19, 2011 8:49 AM

Reply
25 replies

Oct 23, 2011 1:14 PM in response to NezihSavaskan

WOOO!!! I just found a solution!


http://jollyroger.kicks-***.org/software/RemoveDuplicateMessages-Mail.zip


Instructions:


  1. Open Mail
  2. Select all the messages which have duplicates (I had to do this on a folder by folder basis.
  3. Double click on the script (it will open in ApplScript)
  4. Run the script
  5. all the duplicates are removed and stored in a back-up folder it creates


Woohoo!

Jun 15, 2012 4:50 PM in response to NezihSavaskan

I had the same problem. Not only duplicates, but triplicates, quadracates, seemingly on a random basis, i.e., not all messages had multigangers. I didn't try any tricky scripts or apps. I didn't select any messages, of which I had 4,995. I clicked Rebuild Mailbox. Strange things seemed to happen. Everything (in the Mail window!) disappeared. After a little while, all my Notes appeared, all sorted together. Then they went away. Empty window. The Menu Bar working gear was still spinning though, so I had some reason to stay calm. After several minutes, maybe around 5, Messages began to appear, raining down from the Cloud in clusters and dropping into formation. That took a couple of minutes to finish, and what I saw was a nice Inbox with single copies of messages, and the count was down to 3,927. The date goes back to the beginning of Mac time, so I suppose, if not assume, that they are all there. This approach was OK for me, because I don't really care any more than Apple does whether I ever see my mail again. (If they did, they would help out in these forums. What, they can't afford it? To be fair, they did recover some mail for me a couple of years ago, but their act of mercy came with a warning and a guilt trip -- which, you'll admit is still a victory for me.)


Incidentally, this essentially is also the way I de-duped, for the most part, my iTunes library, i.e., I just let Match do it's work and then sorted it by Cloud status.

Good luck.

Removing duplicate emails in Lion/iCloud

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.