Deduplicate mails from a set of maildir folders.