Regarding TOR, it's based largely on volumes. Spikes on a TOR IP for example would trigger additional anti-abuse measures.
To add an exemption for proton.me: The list of Tor exit IPs is public. For the .onion: That's loopback traffic from the tor daemon running on your own load balancer or wherever you've put it.