Aristarchus
Active Member
I believe that both of those companies have zero-knowledge encryption configured. They will, of course, be able to tell the IP addresses - if they log them - but they don't have your password and thus can not decrypt the contents of your inbox.
If they logged it, they could also do things like see who you sent emails to, 'cause the address kind of has to be in plain text.
I can't speak to what they log.
Proton Email provided police with user's recovery email and in effect police had full access to user's all email.
For totally lazy

ProtonMail hands info to government but says it’s not Google
ProtonMail handed user information to Spanish authorities, leading privacy advocates to claim it violated its promise to protect user data.


Proton Mail Discloses User Data Leading to Arrest in Spain
Proton Mail came under scrutiny for its role in a legal request by the Spanish authorities leading to the identification and arrest of a user.

User made it possible to decrypt data and this led to the arrest:
"The core of the controversy stems from Proton Mail providing the Spanish police with the recovery email address associated with the Proton Mail account of an individual using the pseudonym ‘Xuxo Rondinaire.’ This individual is suspected of being a member of the Mossos d’Esquadra (Catalonia’s police force) and of using their internal knowledge to assist the Democratic Tsunami movement."
User was at fault not Proton but expectations regarding Swiss law are ridiculous.
The only example I know where owner rather shut down business than provide data is lava mail (this happened in US).
However expecting that business owner will go to the extreme are not reasonable.