If Thunderbird was a Firefox extension, it could use Firefox for HTML composing. And focus on doing mail.
I suggest it actually run more like its own web server (client/server on the same machine), where the Thunderbird process would work through the plugin to interact with the browser (that would allow multiple Firefox profiles to use the same Thunderbird email instance). This would also allow Thunderbird core to be expanded to be a web based email client.
This would also make sure the web pages opened from Thunderbird (like the welcome page) would open in Firefox (and not Edge on Windows).