'dark mode not working for reveived html emails thunderbird 91.7 / Windows 10

I can enable dark mode in thunderbird (tools/preferences/Add-ons and Themes). However received emails still have white background and black text color.

It seems that this comes from the fact that the emails are written in html (mostly company emails) and not plain text.

If I go to View / Message Body As / Plain Text the text now shows in the dark colors I specified under tools / preferences / general / Language & Appearance / colors where I configured some dark-mode-like colors.

However now all my emails have bad formatting.

Can I achieve the same result without switching to plain text view?

My specs:
Thunderbird 91.7 64bit
Windows 10



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source