If you pay Proton Mail for a service, they may hand over the payment data in response to a court order: https://www.404media.co/proton-mail-helped-fbi-unmask-anonymous-stop-cop-city-protestor/
It is possible to make it work even to google and hotmail but it takes dedication and constant upkeep sadly. And it does not anonymize you at all, rather the opposite.