Kudos to evolution developers
It’s all I have to say, they have created an excellent development platform with e-d-s and the plugins stuff:
The other day, while evo was downloading mail, I managed to break download operation, leaving me with about 1000 duplicated mails. Thanks to the cool work of the evo people, making a plugin for removing duplicated mails has surely taken me less time than removing the mails by hand (the code is barely 100 lines). There are still some issues to sort out, but they’re mostly ui-wise.
You can get the code and the glue patch with evo here.