Merging duplicate contacts

Hello everyone,

I use Thunderbird version 140.4.0esr for Linux and I have 18,746 duplicate contacts in my address book. Is it possible that Thunderbird does not have a built-in feature to solve this problem?

I can’t find an add-on that allows me to merge them. I don’t want to do it manually, it takes too much time and patience.

Thank you