How To's
8 min read

Gmail Authentication: Set Up 2-Step Verification and Check Sender Records

Gmail authentication usually means Google Account 2-Step Verification. Set up a passkey or authenticator, save recovery codes, and know when SPF/DKIM/DMARC are a separate fix.
Gmail Authentication: Set Up 2-Step Verification and Check Sender Records
Written by
Vikas Jha
Last updated
October 24, 2026

To authenticate your Gmail sign-in, secure the Google Account behind it with 2-Step Verification and a recovery method you can use if your phone is lost. A passkey, Google prompt, security key or Authenticator code can help verify that the person signing in is you. If you are trying to prove that email sent from your business domain is genuine, that is a different task: your domain administrator checks SPF, DKIM and DMARC. Turning on 2-Step Verification does not configure those sender records.

In short: Ask what is being authenticated. A person signing in needs Google Account security. A connected app needs an authorized way to access the account. A sending domain needs email authentication in DNS. Fix the matching layer, test it, and keep a recovery path. None of these settings by itself guarantees that marketing email will land in the inbox.

If you mean a sign-in prompt or verification code, start with 2-Step Verification below. If a recipient says your business mail is unauthenticated, jump to the sender-record section. The sender-domain section is for US B2B teams using a company domain and outreach tools. If you already have an error in front of you, jump to the three-case diagnosis.

What does Gmail authentication mean?

Gmail is part of your Google Account, so a sign-in challenge usually asks Google to confirm your identity. A password may be one factor; a passkey or a second verification step provides another route. The settings live in your Google Account, not in a DNS control panel.

The word also appears in two other situations:

  • A mail client or sales tool asks to connect to Gmail. That is a question about app authorization. Review which app has access and what the account or Workspace administrator permits.
  • A recipient or delivery report says mail from your domain is unauthenticated. That is a question about the sending system and domain records. A Google Account can have excellent sign-in protection while the domain's outgoing mail is missing a proper SPF or DKIM setup.

These layers protect different things. Google's account setup, linked-app guidance and sender guidelines are separate documents for a reason. Start by identifying the exact failure message and the action that triggered it.

Three Gmail authentication routes: sign-in challenge goes to Google Account 2-Step Verification and recovery; app access error goes to linked-app authorization; unauthenticated sent mail goes to the domain administrator for SPF, DKIM and DMARC checks.
The same word—authentication—can refer to a person, an app, or a sending domain. The fix depends on which identity failed its check.

How to turn on 2-Step Verification for Gmail

Open your Google Account, choose Security & sign-in, and find 2-Step Verification under “How you sign in to Google.” Choose Turn on and follow the on-screen steps. Those labels are from Google's current help page; the exact layout may differ by device and account. If the account belongs to work or school and the setting is unavailable, ask your administrator. A Google Workspace admin can allow, track and enforce enrollment for the organization.

After activation, confirm that your chosen method appears in your Google Account settings. Keep a working sign-in method and an independent recovery route while you test on a device you control. Google may not offer a newly added passkey or Authenticator method for sign-in immediately; its method guides say that availability can be delayed for up to seven days. A missing prompt right after setup is not by itself proof that enrollment failed. Do not close your only working session or discard your old phone until the new method and a backup route have worked.

Which method should you choose? Google supports several:

  • Passkey: Open Google's passkeys page, choose Create a passkey, and unlock a device you personally control when asked. A passkey uses that device's unlock method. On a personal Google Account it can replace the password and separate second-step prompt; a Workspace administrator may limit how it is used under company policy. Google warns that anyone able to unlock the device may be able to access your account.
  • Google prompt or security key: Google recommends prompts as a second step when you are not signing in with a passkey. Approve a prompt only when you just initiated that sign-in; an unexpected prompt is a reason to check account activity. A security key is another supported method. Choose a method that fits your organization's policy and that you can still use when traveling or changing phones.
  • Google Authenticator: The Authenticator app can generate one-time codes even without mobile service. In your Google Account, open 2-Step Verification → Set up authenticator and follow Google's prompts in the app to link it. Check that the method is listed in your account before relying on it. Do not send a screenshot of its setup QR code or your live codes to a coworker or “support” contact.

A phone number can be a fallback, but the best recovery plan is not “I will always have this phone.” Set up a second method you control before you need it.

Set up recovery before your device fails

In Google Account Security & sign-in → 2-Step Verification → Backup codes, generate codes and store them in a secure place separate from the device you normally use. Google says each backup code can be used once; making a new set invalidates the old set. If you use one during a test, mark it used. Never paste a real backup code into a shared document, support ticket or chat. Google says it will not ask for a backup code outside sign-in.

If you lose your phone, choose the branch that matches what you prepared:

  • Another method is registered: On the sign-in screen, use Try another way and select your passkey, security key or an unused backup code. To test a backup code while you still have an active session, choose Try another way → Enter one of your 8-digit backup codes at a separate sign-in. Mark that code used; it cannot be used again.
  • Authenticator codes were synced: Sign in to the Authenticator app on the replacement device using the account you chose for sync and follow Google's recovery instructions. Verify the codes are present before depending on them. If that Google Account itself asks for a code from the lost device, use a separately registered method or Google's official account recovery first. Synced codes alone are not an independent route into that account.
  • Authenticator codes were kept only on the old device: Follow Google's transfer steps while you still have that device. Installing the app on a new phone does not automatically recreate locally stored codes.
  • This is a managed Workspace account: Contact your organization's administrator about its supported recovery process instead of bypassing its policy.
  • No method works: Use Google's official 2-Step Verification recovery guidance and account-recovery route. No article or vendor can legitimately generate a replacement code for you.

The operational check is whether you can still sign in after the primary device is unavailable. Test a backup route while you control the account and retain your existing session during that test. If your organization uses shared mailboxes, assign access through supported account and admin controls; do not share one person's sign-in or backup codes as an ownership model.

What if a connected app cannot access Gmail?

A sales tool or mail client failing to connect does not mean SPF or DKIM is wrong. Check whether the correct Google Account was selected, whether the app's requested access was approved and whether a Workspace administrator restricts it. Google's linked-app page lets you review and remove connections. Removing a link stops that connection; it does not erase the other app's stored data.

Where the app supports Sign in with Google or a current authorization flow, use that documented method. Do not give the tool your main Google password just because an old instruction says “enter Gmail credentials.” Google's app-password help describes a conditional option for apps that do not offer Sign in with Google. App passwords require 2-Step Verification and may not be available for every account or organization. They are not a fix for a missing SPF record, nor a reason to bypass a Workspace restriction.

For a team, name who owns the app connection and who removes its access when a teammate changes roles.

Signing in to the sales app proves only that you can enter that app. It does not prove the app has permission to read or send Gmail. In Google's linked-app settings, check Access to your Google Account and the specific permission requested; a Workspace administrator may also restrict it. Then test the intended Gmail action in the app. The connection works only when that action succeeds under the approved permission.

Sender authentication is a separate test: a working app connection says nothing about whether outgoing mail from your domain passes SPF, DKIM or DMARC.

When SPF, DKIM and DMARC are the actual issue

For a company that sends mail from yourcompany.com, the domain needs a separate verification path. Google describes the three mechanisms in its sender guidelines:

  • SPF names systems permitted to send on behalf of the domain used for SPF checks. An admin must inventory all legitimate senders, including outside platforms, before changing the record. Google's SPF setup guide begins with that inventory.
  • DKIM attaches a cryptographic signature to outgoing mail; a public key published in DNS lets receivers check it. Google's DKIM guide covers generating a key, publishing it and turning on/confirming signing. A sender other than Google may need its own setup.
  • DMARC tells receivers how to evaluate alignment with the visible From domain and where to send reports under the published policy. Google's DMARC setup guide says to check third-party sending and authentication before publishing a policy. Do not copy a generic record into DNS without knowing every service that sends for your domain.

These are DNS and sending-service tasks for the domain owner or mail administrator. They are not a setting to turn on inside a personal @gmail.com inbox. Google requires SPF or DKIM for senders to personal Gmail accounts and adds SPF, DKIM and DMARC requirements for senders above its 5,000-message-per-day Gmail-recipient tier. Consult the current sender requirements for the applicable volume and other duties, including unsubscribe rules. A team using several tools must account for each legitimate sender; “Google Workspace has DKIM” does not prove a separate outreach platform signs correctly.

Why a passing SPF or DKIM check may still be insufficient: Imagine an illustrative message whose visible From address is updates@example.com. If both the SPF-checked sending domain and DKIM signing domain belong only to mail-provider.test, those checks can pass for the provider yet fail to align with example.com for DMARC. The administrator must configure the legitimate provider to authenticate mail for the company's From domain and then test an actual message. These sample domains describe the relationship; they are not DNS values to publish.

After changes, send a test to a receiving account and inspect authentication using Google's message-check guidance or the receiving provider's headers. Look for the actual domain and pass/fail results, not merely a saved DNS record. An unauthenticated message is not automatically spam, as Google's guide notes. Authentication helps receivers distinguish genuine mail from spoofing. It does not ensure inbox placement, earn consent, make a message relevant or eliminate spam complaints.

Which problem do you have? A three-case example

Consider a fictional US B2B team using Google Workspace for its sales mailboxes and a separate platform for some outreach. Three incidents arrive on Monday:

  1. A rep cannot sign in after changing phones. The owner is the account holder with the Workspace admin when needed. Check the previously registered passkey, security key or backup code, then follow official recovery. Editing SPF will not help.
  2. A connected app says Gmail access was denied. The owner is whoever manages the app connection and Workspace app policy. Check the selected account, Access to your Google Account, the specific Gmail permission and the product's supported sign-in flow. Test the permitted Gmail action; merely entering the app is insufficient. Turning off 2-Step Verification to make an old login work would weaken account security and may still not solve the app's authorization problem.
  3. A recipient flags an unauthenticated company-domain message. The owner is the mail/domain administrator. Identify which system actually sent it, inspect its SPF/DKIM result and DMARC alignment, and correct that sender's configuration. Regenerating the rep's Authenticator code will not help.

All three incidents use the word “authentication,” but they have different evidence and completion tests. For the first, the person signs in securely. For the second, the app completes its intended Gmail action under approved permission. For the third, a message from each sending system passes the relevant domain checks. Do not mark the third complete merely because a test message arrived: inspect its authentication result.

A short checklist for your team

For each person who uses the mailbox, enable the allowed 2-Step Verification or passkey method, add a separate recovery route and test it. For each connected app, confirm the owner, approved Gmail permission, a successful permitted Gmail action and the removal path. For each system that sends from the domain, have the mail administrator inventory it, configure and test the applicable SPF/DKIM/DMARC setup, and monitor failures after changes.

If you run outbound campaigns, account security and sender authentication are prerequisites. The message still needs a relevant audience, lawful and platform-permitted route, functioning opt-out where applicable, and a next action a buyer can understand. The email marketing relevance guide covers the message decision; this guide helps you identify which authentication control actually failed.

What is Alore?

Email Warmer

Generate real engagement to Warm Up Your Email Address without any human intervention

Drip Campaigner

Send emails that generate new business opprotunities for you

Collaborative Inbox

Improve team performance & customer experience - manage multiple email addresses from one place