For cases like this, it's better to install the "protonmail bridge" application and use whichever local mail client you like. I have Thunderbird and a local Postfix relay aimed at my bridge and it works very well and certainly doesn't need javascript.
https://proton.me/mail/bridge