How do I remove duplicate emails from my inbox?

Asked by shaun

I have mutliple accounts connected to my Evolution 2.22.3.1 email browser, which share a common incoming and outgoing server. This is good for sending distinct messages but not so good for receiving. When I download both accounts from the same server, I get duplicates of the same email messages. After they are downloaded and I read one copy, I currently have go through and delete manually all the duplicates one by one. Isn't there some app plugin or filter I can use to delete unread duplicates a one stroke?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu evolution Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
C de-Avillez (hggdh2) said :
#1

No there is not. One problem with such plugin is how to recognise duplicates... this would probably require comparing *some* mail headers, the mail body, and (eventual) attachments.

No matter what, even if your received your emails on different folders (which, BTW, can be easily done by creating message filters) you would still end up with the duplicates, but now on different folders.

Revision history for this message
len (len-len) said :
#2

I've had similiar problems in the past and for this purpose I wrote a python script which uses the message headers to compare them. You can find the script here: http://www.len.ro/2009/01/remove-duplicate-mails/

Revision history for this message
pinzia (pinzia) said :
#3
Revision history for this message
pinzia (pinzia) said :
#4

Can you help with this problem?

Provide an answer of your own, or ask shaun for more information if necessary.

To post a message you must log in.