Sadly, that is impossible. The only mail client that does real HTML is Thunderbird (because under the hood it uses the fully featured Firefox engine).
Outlook even in modern versions still uses the horrifically broken Word HTML engine. Lotus Notes uses, depending on client configuration, either a OS-provided web view or its own stripped-down, worse-than-Word engine.
The webmailer options are even worse. Lotus Notes webmail passes most, though by far not all, HTML tags over to the client, which is pretty cool but you can't do anything with mediaqueries etc. as <style> tags get removed. GMail strips next to everything except images. GMX / Web.de are similar.
And mail support on mobile... don't get me started on this one. Android default mail does stuff differently than the Google Mail app; on iOS Mail at least responsiveness sorta works. Android Lotus Notes Mail is a mixture of "works" and "works not", probably decided by the current position of the moon or whatever.
And Javascript: doesn't work everywhere I tested except on Thunderbird, but there it invokes a prompt...