quentinsf / IMAPdedup

IMAP message de-duplicator
https://quentinsf.com/software/imapdedup
GNU General Public License v2.0
321 stars 57 forks source link

Criteria for choosing the "one true" message? #76

Open dzg opened 1 year ago

dzg commented 1 year ago

Looking at the code, it appears that in given group of "matching" messages, we keep the first one found and discard the others.

For my usecase, I would prefer to keep the one that is the largest, because I have duplicates where attachments etc have been stripped.

How hard would that be?

Thanks!