Just FYI there is a solution to this: enroll your gmail account in the advanced protection program
https://landing.google.com/advancedprotection/
When you login you are required to use a security key (like Yubi key) but it removes all the annoying emails and texts with codes, IP filtering, login AI, etc