Language / Dil
All Posts Domain Names Business Email SSL Certificates Hosting Trademark Registration Metutech.Design AI-Powered Website Builder ↗ More Back to metunic.com.tr
Business Email

2-Step Verification and App Password (IMAP) in Gmail

We walk you through enabling 2-Step Verification on your Gmail account and creating a 16-digit app password for IMAP connections. We also share the IMAP and SMTP server settings and tips for keeping your account secure.

2 min read

Contents
  1. How to Enable 2-Step Verification in Gmail
  2. How to Get an “App Password / IMAP Code”
  3. Quick Checklist When Connecting via IMAP
  4. Frequently Asked Questions
  5. Security Tips

How to Enable 2-Step Verification in Gmail

1) Click your profile icon in the top right corner of your web browser → “Manage your Google Account”.

2-Step Verification and App Password (IMAP) in Gmail – image 1

2) Click the “Security” tab in the left menu.

2-Step Verification and App Password (IMAP) in Gmail – image 2

3) On the screen that opens, go to the “2-Step Verification” section → Follow the prompts to add your phone number and enable 2FA.

2-Step Verification and App Password (IMAP) in Gmail – image 3
2-Step Verification and App Password (IMAP) in Gmail – image 4

Tip: During the initial setup you can choose one of the options such as SMS, phone call or messenger; if possible, we recommend using Google Authenticator or device prompts.

How to Get an “App Password / IMAP Code”

Prerequisite: 2-Step Verification must be enabled in order to create an app password.

1) Click the “Manage your Google Account” link from your Gmail account in the top right of your web browser. Type “App passwords” in the search box on the screen that opens and click the first result.

2-Step Verification and App Password (IMAP) in Gmail – image 5

2. After entering the app name, click the “Create” button, copy the 16-character IMAP code that is provided to you, and you can start your data transfer.

2-Step Verification and App Password (IMAP) in Gmail – image 6

Important: This password is used instead of your account password in third-party email clients such as IMAP/POP/SMTP.

Quick Checklist When Connecting via IMAP

  • Username: Your Gmail address (e.g. yourname@ gmail.com)
  • Password: The 16-character app password you created
  • IMAP server: imap.gmail.com, Port: 993, SSL/TLS: On
  • SMTP server: smtp.gmail.com, Port: 465 (SSL) or 587 (STARTTLS)

Frequently Asked Questions

Why is an app password needed?
When 2FA is active, some applications cannot sign in with the regular password; this password is a secure pass-through key.

What if I lose my app password?
From the same screen, you can revoke the old passwords and create a new one.

What happens to 2FA if I change my phone?
Generate backup codes before adding the new device; do not forget to remove the old device.

Security Tips

  • Keep backup verification codes in a safe place.
  • Regularly turn off/delete app passwords you do not use.
  • In case of possible risk alerts (a session on a different device, a suspicious sign-in), check Account Activity.

Was this article helpful?

Still stuck? Our support team is here to help. Tell us your question and our experts will help you.

Help & Support
Business Email

You may also like