Most email providers won't just restrict the IP, but lock out the account, gmail included.
To unlock it they require you to reset the password based on your settings for either an alternate email, security questions, phone verification, etc.
Furthermore services like gmail will email yourself and other associated accounts if someone does get in.
Bruteforcing email addresses are like so 1990s