Is there a thunderbird plugin to modify IMAP emails?
I use the EditEmailSubject extension, works great for me.
Two other add-ons that may possibly do the job :
TB Header Tools Extension
This extension hasn’t been updated for years. However here is a way to get it working again.
HeaderToolsLite
Has an option for forcing changes with IMAP accounts.