Review for Remove Duplicate Messages by Martijn
Rated 4 out of 5 stars
Works well. I used it to separate 3000 duplicates from 200 actual messages. Thunderbird had created these due to some bug.
Although the UI isn't very intuitive, it does what it claims to do, and pretty fast as well.
To create your own collections, you must have a Mozilla Add-ons account.