Their web client is open source and MIT licensed. For more security it might be worth running it locally:
https://github.com/ProtonMail/WebClient