Removing duplicate emails

Hello all,
I have looked on the web but I cannot find any solution to my problem, 'How to remove duplicate mails from my mailboxes'.
Most are empty mails with the actual message not downloaded from the server. It would be great if an app. existed that could remove all these messages.
Thanks
olav

The most comprehensive way to approach this, is as follows:
1) Make another New Mailbox, and this time Move all the OTHER messages (those you wish to save, anyway) to this New Mailbox.
2) Delete the first new mailbox you created, if Mail allows -- if not we will deal with this later
3) Quit Mail, and in the Finder open Home/Library/Mail/this POP account folder, and find the INBOX.mbox folder. Open this folder, and then within it, open the Messages folder. Delete those xxxx.emlx files for the messages you allowed to remain in the Inbox.
4a) Again in the Mail folder, find the file named Envelope Index, and delete it -- do this to any other file with Envelope in the name.
4b) If Mail did not allow the deletion of the first new mailbox, find and open the Mailboxes folder (within the Mail folder), find that xxxx.mbox folder and delete it.
5) Relaunch Mail, which will announce it is ready to Import your mailboxes -- allow this to continue, and it will not be importing anything, but rather reindexing all your mailboxes.
If you will do, first check the topic where I worked with another on a similar issue at:
http://discussions.apple.com/message.jspa?messageID=2835057#2835057
If you open the stubborn message, and click on View in the menubar, place the cursor on Message and choose Raw Source, you can observe all the header characteristics and report. But if you had rather not bother, don't worry about it.
Keep us posted.
Ernie

Similar Messages

  • How to remove duplicate emails in Mail

    Does anyone know if a good app that works in Lion that will help me remove duplicate emails in Mail?  There are some options on the web that I've found but they don't seem to work with Lion.

    I have found a very satisfactory solution to eliminating my duplicates in Apple Mail, which is to stop using it and switch to Thunderbird.
    There's lots that I like better in Apple Mail, but Thunderbird is light-years more flexible in managing your email than is Apple Mail, because Thunderbird is an open platform with excellent Add-ons available, which include the nifty Remove Duplicate Messages: http://bit.ly/tbird-dups. It is stupid that Apple Mail hides duplicate messages in the background & won't allow users to search and destroy them. Frustrating!
    As a prologue to that, you need the TB import export Add-on: http://bit.ly/tbirdimportexport
    Managing my mail locally on my Mac was a huge project for me, involving integrating tens of thousands of emails. Mail was  from gmail, yahoo, and many years of Outlook PST files.
    Now that the project is complete, I'm very happy with Thunderbird to manage my email archives. Though I actually would prefer the Lion Apple Mail interface for day to day use, it just isn't flexible enough.

  • TS3276 How to remove duplicate emails in Apple Mail program

    How do I remove duplicate emails from Apple Mail.   I have runt he "remove duplicates" scripte several times and it finds nothing.  I see clearly that I am  receiving   many duplictes.

    Check out the tip by Bradley Taylor1 here >  How to delete duplicate mail messages using Mail Script

  • Remove duplicate emails??

    Every once in awhile something inside of mail triggers a re-download of mail from the server. It happened today and down I have 10,000 +/- duplicate emails all marked as unread. Is there anyway to remove duplicate emails from my download email folder?
    bill

    Same problem, only one of four accounts (POP) acts this way, and is reloading, and re-reloading, and re-re-re (you get the picture) mail from this account going back to June 07. All marked unread,up to almost 2k of these so far. Running OSX.4.10, dual 2ghz Powermac, 4gb ram, no recently added software.
    Thanks!

  • How can i remove duplicate emails?

    1) How can I remove duplicate emails?
    2) in main inbox folder of all my accounts, I don't want to see duplicate emails?
    3) I want to filter with duplicate emails.

    You have already asked this question more than once. Please keep all responses to same question in one question.
    see this question:
    https://support.mozilla.org/en-US/questions/1002446?esab=a&s=&r=0&as=s

  • Removing duplicate emails in Mail

    While attempting to back up my Gmail -- which is at capacity right no -- I accidentally reset the POP setting and downloaded all my mail again.
    So now I have 160000+ emails in my mailbox in Mail. I would like to weed out the dupes, and after a bit of Googling, found Mail Scripts (http://www.versiontracker.com/dyn/moreinfo/macosx/16217) and started running the Remove Duplicates script.
    Everyone said it was slow, but after leaving it running all night it had found only 119 duplicates! Is there any other program that will remove the extra mail, or there some way to shorten the process? It seems like my mailbox is just too big for this script to handle.

    Just a thought, but take a look at your Mail Menu "View", select columns, then make sure it has both Date Received and Date Sent checked. Then compare duped messages and see if the date/time is the same on both. I haven't had this problem, but if the Date Received is different on the second copy of the duped email, you might be able to sort on Date Received and mass-delete the dupes...
    beadman

  • How to remove duplicate emails from mac mail

    i have moved my email message from outlook for mac 2011 and downloaded all the mails form 3 accounts of google app for business.
    now my mail box shows 60000 emails and is occupying more then 40GB. 50% of the mails in my mail box must be duplicate. I want to know how to remove the duplicate emails from my account.

    Apologies, this was posted here in error. Please find updated post here: https://discussions.apple.com/message/27261965#27261965

  • Remove duplicate emails and mailboxes

    I am moving emails from an old Mac to our new MacBook Pro. My wife has a LOT of mailboxes. It seems to me that when she imported her emails onto our old Mac, from an even older Mac, that mailboxes got duplicated. I think there are mailboxes and folders (with different names) that actually contain the same emails (or mostly the same) as other mailboxes and folders.
    I've read some of the threads on the Apple Support Communities. I understand there is a script for finding duplicate emails. But will this only find duplicates within the same mailbox? I don't have this problem. I need to find duplicate mailboxes and duplicate emails within different mailboxes.
    I am using Lion and Mail.
    Thanks for any help
    Mark

    Same problem, only one of four accounts (POP) acts this way, and is reloading, and re-reloading, and re-re-re (you get the picture) mail from this account going back to June 07. All marked unread,up to almost 2k of these so far. Running OSX.4.10, dual 2ghz Powermac, 4gb ram, no recently added software.
    Thanks!

  • Remove Duplicate Emails from the server

    Several users have multiple copies of the same message in their inbox. Collecting External Mail and then copying the same email. Is there a way to look for duplicate messages and then delete them?

    I am running 6.1
    Its not disk space but several users have collected or copied old mail boxes several times so now their message counts are in the 10 of thousands with half to three quarters of their messages being duplicates. I was just wondering if there was a server mechanism that would allow a scan of a mailbox and a removal of duplicates. I know that there are programs that will run on a windows client that do this but I was hoping to fix this without going that route.
    Any words of wisdom are appreciated.

  • Remove duplicate email addresses from "To" bar?

    Fellow Mac-users,
    I am experiencing an annoying issue with my standard mail client and contacts. Though I have extensively searched the net for an answer, I still have been unsuccessful in solving it. I have a MacBook Air that runs on OSX 10.9.1.
    I have my contacts stored on the iCloud which is a good thing. Everytime when I compose an email message that I'd like to send I experience the following issue: When I use the auto-fill feature to fill in the recepients ("To"), the contact automatically duplicates itself. So this is how it looks like: "To: [email protected] [email protected] instead of just once".
    I have already deleted my complete previous recepients list via the mail preferences. When I disable syncing of contacts on the iCloud, I get the mail addies just once, however my contacts are empty since they are stored on the iCloud.
    I have read discussions where it was indicated that the problem might be that the details were stored both on the iCloud accound and on the "On my Mac" account locally and that I should make sure that the latter was both empty and set NOT being the default acount. I expecience issues with both items as firstly it appears that the "on my mac' account is empty (though it does not vanish, as it should); I cannot delete the account and I cannot set my iCloud account as default since that option is not present in the generals tab of my contacts preferences.
    I am at a loss here. I would welcome any suggestion that might lead to solving this nasty little problem.
    Cheers and thanks in advance.
    Dan.

    Please test after taking each of the following steps.
    Step 1
    Back up all data.
    Triple-click anywhere in the line of text below on this page to select it:
    ~/Library/Caches/com.apple.AddressBookSourceSync
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A folder should open with an item selected. Move the selected item to the Trash.
    Log out, log back in, and test. If there's no change, go to the next step.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.
    Step 2
    If you use iCloud, uncheck the box marked Contacts in the iCloud preference pane. Press return to confirm, or click Keep on Mac in the dialog that opens.
    Step 3
    From the list of groups on the left side of the Contacts window, select All On My Mac. If that group doesn't exist or is empty, skip this step. Otherwise, from the menu bar, select
    File ▹ Export ▹ Export vCard
    Save the exported contacts to the Desktop.
    Step 4
    Quit Contacts. Reveal the following item in the Finder as you did in Step 1:
    ~/Library/Application Support/AddressBook
    Move the selected folder to the Desktop, leaving the window open for now.
    Step 5
    Launch Contacts. Your contacts will be gone. If you took Step 3, then double-click the file you created in that step and confirm that you want to import from it. Your contacts will reappear.
    Step 6
    If you took Step 2, reverse it. Test. If the issue is resolved, delete the AddressBook folder and the vCard file on the Desktop and close the open folder window.
    Otherwise, quit Contacts again and put the AddressBook folder back where it was, overwriting the newer one that will have been created in its place. Post your results.

  • How do you remove duplicates in OSX Lion Mail?

    I know there are a few posts floating around about removing duplicate emails with Mail Scripts, however this software isn't supported in Lion just yet. And I would like to do this now. What's the smartest way to remove duplicates across multiple IMAP folders on 1 account. I don't need something so elaborate that does cross accounts etc.
    I've downloaded and installed MailSteward but it seems to only allow modifying a backed up copy. I need to remove live duplicates.
    Anyone have any suggestions? Come on Apple, as if you guys don't get duplicate emails that this can't be programmed into the software...
    I'd sincerely appreciate anyone's help.
    Kindest,

    Check this thread out: https://discussions.apple.com/thread/3412201

  • How to remove thousands of duplicate emails in Apple Mail?

    Hi everybody,
    I know there are a couple of discussions on the web already about this issue, but I cannot find one that clearly answers my question or solves my problem.
    I'm working on Lion with Mail version 5.1 and I have a Gmail-account. I have been messing around a bit with IMAP and POP to re-collect all my Gmail-mails into Apple Mail, but now I see that almost every email has 1 to 5 or even more duplicates.
    I've tried Andreas Amann's "Remove Duplicates" script, but whatever Mailbox I check, it doesn't work with Lion (yet). I get this error:
    There is another script I tried, the one from this page: http://hints.macworld.com/comment.php?mode=view&cid=115625
    It just makes my computer freak out, so not OK.
    A third script I found here: http://jollyroger.kicks-***.org/software/
    I downloaded the "RemoveDuplicateMessages-Mail.zip"-file and installed it. It does say it finds and relocates duplicate mails from the Mailbox that is selected in Mail:
    It relocates all the duplicates to a folder on my Desktop, called "Remove Duplicate Messages". I do find them there, but the mails in the selected Mailbox in Mail.app still show their duplicates! Even when I throw the files from the new folder on Desktop in the Trash and empty it, nothing changes. Not even after restarting Mail. Or my Mac.
    So I'm still stuck with thousands of duplicates. Any help on this one?
    Thanks a lot,
    Alexander

    I have found a very satisfactory solution to eliminating my duplicates in Apple Mail, which is to stop using it and switch to Thunderbird.
    There's lots that I like better in Apple Mail, but Thunderbird is light-years more flexible in managing your email than is Apple Mail, because Thunderbird is an open platform with excellent Add-ons available, which include the nifty Remove Duplicate Messages: http://bit.ly/tbird-dups. It is stupid that Apple Mail hides duplicate messages in the background & won't allow users to search and destroy them. Frustrating!
    As a prologue to that, you need the TB import export Add-on: http://bit.ly/tbirdimportexport
    Managing my mail locally on my Mac was a huge project for me, involving integrating tens of thousands of emails. Mail was  from gmail, yahoo, and many years of Outlook PST files.
    Now that the project is complete, I'm very happy with Thunderbird to manage my email archives. Though I actually would prefer the Lion Apple Mail interface for day to day use, it just isn't flexible enough.

  • Remove duplicate Address Book emails

    I'm trying to write a script that walks through the currently selected Address Book entries, checks for duplicate email addresses, and removes any duplicates that it finds. Here's what I came up with:
    <pre>tell application "Address Book"
    set the_selection to selection
    repeat with this_person in the_selection
    set unique_emails to {}
    set duplicate_emails to {}
    repeat with this_email in every email of this_person
    if the value of this_email is in unique_emails then
    copy the contents of this_email to the end of duplicate_emails
    else
    copy the value of this_email to the end of unique_emails
    end if
    end repeat
    repeat with this_email in duplicate_emails
    remove this_email from this_person's emails
    end repeat
    end repeat
    end tell</pre>
    It seems like this should work, but when I try to run it, I get:
    <pre>Address Book got an error: NSReceiversCantHandleCommandScriptError</pre>
    I believe the first repeat clause is correct; the error comes in the call to remove. I just can't figure out how to remove the emails listed in duplicate_emails from Address Book. Any suggestions? TIA
    PowerBook G4   Mac OS X (10.4.3)  

    Yes, that's because of the emails is reduced by one -every time- after the script encounters the second address. On the third encounter the index for this email address is 3, but the actual index of it is 2 -because the second one got deleted, is that make sense?
    Yes, I'm just surprised that this is necessary. In some other programming languages (such as Java's collections API), keeping track of indices is not necessary because you can delete an element on the fly and the iterator object will adjust itself accordingly.
    Anyway, even though the second repeat loop is not strictly necessary, I'd rather do that than have to deal with index-based loops. The second loop approach is easier to read and understand, I think.
    I've posted the final version of the script here: http://vocaro.com/trevor/software/applescript/
    Thank you for your help; I appreciate it!
    PowerBook G4   Mac OS X (10.4.3)  

  • How to remove duplicate POP messages in Mail under Mavericks

    Hello
    I'm having some significant problems with Apple Mail, and despite having researched widely, I haven't been able to find a solution yet. Here is my tale of woe...
    My set up is that I use Mail with 5 separate accounts, downloading all messages using POP. I keep ALL my mail (even the trash) so that I have a permanent record of all conversations, going back more than 10 years - this is about 250,000 emails in around 250 subfolders. I'm running the latest version of Mavericks on a 2010 MBP. I have no intention of moving to IMAP - I need to keep a local archive of all my mail.
    A few months ago I was having problems with Mail being very slow to load and search emails. I decided to rebuild the mailboxes, but afterwards discovered that thousands of messages in the inbox of one of my accounts (and some of the sub-folders) had disappeared. Once I realised I tried to go back to a recent Time Machine back up, but, for whatever reason, that part of the back up hadn't worked properly and I was unable to recover the previous status. I left it while I decided what to do, and had time to deal with it...
    The last 2 years worth of emails on that account were still archived on gmail, so last week I decided to try redownloading the whole lot (something like 72,000 messages), and then planned to use one of the scripts I was aware of to remove the duplicates to the trash, and then remove any duplicates in the trash forever. That ought to mean I at least had an archive of the last two years of missing messages, even if I had no record of which ones had been flagged or replied to, etc.
    The downloading took about 24 hours to complete, and I now have almost 70,000 messages in the inbox of that account. I also rebuilt all the folders again, which doesn't seem to have resulted in any further loss of messages as far as I can tell. However, I hadn't figured on two things:
    1. Mail 'hides' duplicate messages, meaning that all of the messages I've downloaded are showing as unread, and I can't differentiate the ones I already had in my Inbox, and the new downloads. When I click on those apparently unread messages I can see if they have been replied to or forwarded, etc, but there's no obvious way for me to remove the ones I have already dealt with to the trash, without going through them all manually, which is clearly impossible.
    2. The scripts I'd found for removing duplicates don't work. Andreas Amann's Remove Duplicates script doesn't work under Mavericks, and he has abandoned the project. I've also tried the remove-duplicate-messages.scpt made by Jolly Roger (http://jollyroger.kicks-***.org/software/), and while it *sometimes* works on individual subfolders on my Mac (but as far as I can tell removes the duplicate in that folder, rather than the newly downloaded version), mostly it doesn't work at all - it creates a 'Remove Duplicate Messages' folder on my desktop, a log inside it and a folder for removed messages, but nothing appears in the duplicates folder.
    So, I'm left in a position where I have 70,000 apparently unread messages in my Inbox, a massively bloated Mail library (which has pretty much doubled in size, because of the 'hidden' messages), a slow and unresponsive Mail program. I've come to the conclusion that there must be some corrupted email somewhere, which probably caused the original email haemorrhage, and may still be causing the inability to remove duplicates. Mail is so slow as to be almost unuseable.
    I figure I have a number of options:
    1. I could live with the situation and just archive most of the Mail in my inbox, with the side effect that there will be a bunch of messages I have never replied to that are missed.
    2. I could abandon the last week's efforts and revert to the version of Mail I was using a week ago, and then redownload the recent emails from my various accounts. That would still leave me without those thousands of emails I lost on my local machine.
    3. I could find another way to deal with this. Can I get the remove duplicates script working? Should I revert to the version of Mail from a week ago, download ALL the messages again, but do it in a way that allows me to find the duplicates and remove them? Should I move to another email program altogether (which would presumably be massively disruptive to my work!)
    Anyway, apologies for the essay length of this request, and thanks in advance for any help you may be able to offer!

    hi Eric
    thanks for the tip, but I don't think that solves my problem, which is that Mail apparently hides the duplicates, so they're still there, you just can't differentiate or remove them. I actually *need* the duplicates there so I know I've got everything, but then I need to be able to move the ones I know I've dealt with from my inbox to an archive/trash, and/or remove them completely so Mail isn't totally bloated

  • How do I eliminate duplicate email accounts on my Mac?

    how do I eliminate duplicate email accounts on my Mac?

    Go to Mail Preferences/Accounts.  Select the Account you want to remove and hit the minus button.

Maybe you are looking for