“If you have duplicate messages […] you can use this tool to find and remove them from the selected folder […]. It allows you to configure what you want to compare (sender, messageid, subject, …).”
Oh, how badly I’ve needed this! It took out about a zillion duplicates from my RSS feeds.