I need to replace the primary password for thunderbird , as I lost it

Please how do I do this without losing emails please


have you tried seamonkey?
install it
run and select window then mail,
cancel any setup,
then go to tools, import,
import everything from your thunderbird profile.
might work