No, it is your right to choose what code is executed in your browser and which isn’t. There’s a case to be made about accepting the EULA but if you never registered a Google account, then you never accepted any EULA. This is not the case with modded android/iOS apps as in those cases you are violating DMCA 1201.
Hi, I recommend you read the book “Run Your Own Mail Server”. The fact that a book exists for this topic is all the proof you need to not do this decision. But if you absolutely must, this is the way.