|
|
Delete large numbers of duplicate emails from Mail.app
It occurred to me that this would be best handled using a rule action. That way, messages could be tested as they arrived, automatically, as well as in bulk. the rule action script looks like this (untested):
because this is an untested version, I have it set to mark the emails in purple, and I've commented out the delete line (though ultimately you would want to uncomment that and delete emails automatically - test to make sure the script works as you want, first). This script will take the current email, check to see if there are any other emails that have the same message size, subject line, and to recipients in the INBOX of the same account, and mark/delete that email if there are duplicates (unless this email is the oldest email in the matching emails - oldest emails are preserved so that at least one copy of the email remains).
to use this, copy the script in the the applescript editor and save it as a script file. In Mail, set up a rule action that calls this script. the script will then run automatically on incoming emails, or you can run it on a given message or an entire mailbox using the Message -> Apply Rules menu item. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|