If the email address to which it is sending the verification code is not @gmail.com (e.g. you use workspace or have a vanity domain+forward) you can change the email forwarding or redirect the domain to a different email provider for long enough to get the code.