Postigo

Setting up 2FA for Gmail App Password

May 9, 2026 4 min read 26

Setting up 2FA for Gmail App Password

To work securely and efficiently with Gmail through third-party applications like Postigo, you need to use an App Password. However, Google requires you to enable two-factor authentication (2FA) for your account before allowing you to create an App Password. This is an important security measure that protects your account from unauthorized access.

Why is 2FA required for App Password?

An App Password grants a third-party application access to your Gmail account, bypassing the standard authorization process. Without 2FA, an attacker who obtains your App Password can freely log into your account and access your correspondence, contacts, and other confidential data. Enabling 2FA adds an extra layer of protection: even if the App Password is compromised, the attacker will need a second authentication factor (such as a code from an SMS or authenticator app) to access the account.

Google has implemented this requirement to increase the overall security of user accounts, especially those who use Gmail for important business processes such as B2B sales, lead generation, and recruiting. According to Google, enabling 2FA reduces the likelihood of a successful account hack by more than 50%.

Enabling 2FA in Google Account

To enable 2FA in your Google Account, follow these steps:

  1. Sign in to your Google Account: myaccount.google.com.
  2. Go to the "Security" section.
  3. Find the "How you sign in to Google" section and select "2-Step Verification".
  4. Click "Get started".
  5. Follow the on-screen instructions to choose a suitable 2FA method.

Choosing a 2FA method

Google offers several methods of two-factor authentication. The most common are:

  • SMS codes: Google will send an SMS message with a verification code to your phone each time you log in to your account from a new device or application. This method is easy to use but less secure than others, as SMS messages can be intercepted.
  • Authenticator app: Use an authenticator app such as Google Authenticator, Authy, or Microsoft Authenticator. The app generates temporary codes that you need to enter when logging into your account. This method is more secure than SMS because the codes are generated locally on your device and are not transmitted over the network.
  • Hardware security key (YubiKey, Google Titan Security Key): A physical device that connects to your computer or phone and is used to verify your identity. This is the most secure 2FA method but requires the purchase of additional hardware.

For maximum security, it is recommended to use an authenticator app or a hardware security key.

Saving backup codes

After enabling 2FA, Google will prompt you to generate and save backup codes. These codes can be used to access your account if you lose access to the primary 2FA method (for example, if you lose your phone). Be sure to save your backup codes in a safe place. It is recommended to print them out and store them in a safe or other secure location. You can also save them in a password manager.

Important: Each backup code can only be used once. After using a code, it becomes invalid. If you have used all the backup codes, you need to generate new ones.

Creating an App Password after enabling 2FA

After successfully enabling 2FA, you can create an App Password for use with Postigo or other third-party applications:

  1. Go to the "Security" section of your Google Account.
  2. Find the "How you sign in to Google" section and select "App Passwords". If this section is not available, make sure 2FA is enabled.
  3. Select the application (for example, "Mail") and the device (for example, "Other (specify name)").
  4. Enter the application name (for example, "Postigo").
  5. Click "Generate".
  6. Google will generate an App Password. Copy this password and use it to configure your account in Postigo.

Attention: An App Password is a one-time password intended only for a specific application. Do not use your primary Gmail password for third-party applications. If you suspect that an App Password has been compromised, you can revoke it in your Google Account settings.

After creating an App Password, you can use it in the SMTP settings in Postigo. You can learn more about setting up SMTP in Postigo here.

Using 2FA and App Passwords are important steps to ensure the security of your Gmail account and protect your data. Postigo pays great attention to the security of user data, and we recommend using all available protection methods, including 2FA and strong passwords. For additional protection against spam, see our recommendations for setting up SPF, DKIM, and DMARC here.

Pay only for the emails you send. Credits do not expire — use them when it's convenient. All packages include full functionality.

$1.00 per 1,000 emails

[email protected]