Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Set Up Gmail in Mozilla Thunderbird: Step-by-Step

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can set up Gmail in Mozilla Thunderbird in about five minutes using Thunderbird's automatic configuration. You'll need your Gmail address, your Gmail password (or an app password if you use two-step verification), and Thunderbird installed on your computer. The setup works on Windows, macOS, and Linux.

What You'll Need

  • Mozilla Thunderbird installed (download from the official Mozilla site if you don't have it).
  • Your full Gmail address (e.g., yourname@gmail.com).
  • Your Gmail password. If you have two-step verification enabled, you'll need an app password (see Tips below).
  • Internet connection.

Step-by-Step

  1. Open Thunderbird. If this is your first time launching it, you'll see the account setup wizard. If you already have an account, go to Tools > Account Settings > Account Actions > Add Mail Account.
  2. Enter your name, email address, and password. In the wizard, type your full name (this will appear in the “From” field of emails you send), your Gmail address, and your Gmail password. Click Continue.
  3. Let Thunderbird auto-detect settings. Thunderbird will query Mozilla's database and automatically fill in the incoming (IMAP) and outgoing (SMTP) server settings. For Gmail, it should show:
    - Incoming: imap.gmail.com, port 993, SSL/TLS
    - Outgoing: smtp.gmail.com, port 465, SSL/TLS (or port 587 with STARTTLS)
    If these appear, click Done (or Create Account). If not, see Troubleshooting.
  4. Authorize the connection. Thunderbird will open a new window asking you to sign in to your Google account. Enter your Gmail address and password, then click Allow to grant Thunderbird access. This is a one-time step.
  5. Wait for the initial sync. Thunderbird will download your folders and messages. This can take a few minutes if you have a large mailbox. You'll see your inbox appear in the left pane.
  6. Send a test email. Click Write (or New Message), address it to yourself, type a short subject, and send. If it arrives in your inbox, setup is complete.

Common Mistakes

  • Using your regular Gmail password when two-step verification is on. Google requires an app password for third-party apps like Thunderbird when 2FA is enabled. Without it, you'll get an “authentication failed” error.
  • Choosing POP3 instead of IMAP. POP3 downloads emails and removes them from the server, which can cause you to lose messages on other devices. IMAP keeps everything synced.
  • Entering the wrong server ports. Gmail uses specific ports (993 for IMAP, 465 or 587 for SMTP). Using the wrong port will prevent connection.
  • Clicking “Done” before the authorization window appears. If you skip the Google sign-in, Thunderbird won't be able to access your account.

Tips

  • If you use two-step verification, create an app password: Go to your Google Account > Security > App passwords (you may need to sign in again). Select “Mail” and “Other” and generate a 16-character password. Use that in Thunderbird instead of your regular password.
  • Enable “Less secure app access” only if you absolutely must. This is an older method, and Google discourages it. App passwords are safer and more reliable.
  • Keep Thunderbird updated. Older versions may have trouble with Gmail's security changes. Use the built-in update checker (Help > About Thunderbird).
  • Set your default identity. If you have multiple email accounts, go to Tools > Account Settings > your Gmail account, and check “Use this account as default” so new messages are sent from Gmail.

Troubleshooting

“Configuration could not be verified” or “Server not found”

  1. Check your internet connection and that you can access Gmail in a browser.
  2. Manually enter the correct settings: In the setup window, click Manual config and enter:
    - IMAP server: imap.gmail.com, Port: 993, SSL: SSL/TLS, Authentication: OAuth2 (or Normal password if using app password)
    - SMTP server: smtp.gmail.com, Port: 465, SSL: SSL/TLS, Authentication: OAuth2 (or Normal password)
    - Username: your full Gmail address.
  3. If you're using an app password, make sure you typed it correctly (spaces are fine).

“Authentication failed”

  1. Double-check your password. If you have 2FA, generate a new app password.
  2. Go to your Google Account > Security > Third-party access and ensure Thunderbird is allowed.
  3. Sign out and back in: In Thunderbird, go to Tools > Account Settings > Server Settings, click “Advanced” and then “Re-authenticate” (if available).

Emails not sending

  1. Verify SMTP settings are correct (smtp.gmail.com, port 465 or 587, SSL/TLS).
  2. Check that your “Outgoing Server (SMTP)” is set to use the same authentication as your incoming server.
  3. If you get an error about “relay denied,” your SMTP authentication is missing—go to Account Settings > Outgoing Server (SMTP) and select “Use name and password” with your Gmail address.

If nothing works: Remove the account from Thunderbird (Account Settings > Account Actions > Remove Account) and add it again from scratch. This clears any corrupted settings.

Frequently Asked Questions

Does Thunderbird work with Gmail's two-step verification?

Yes, but you need to create an app password in your Google account and use that instead of your regular password. The app password bypasses 2FA for Thunderbird only.

Should I use IMAP or POP3 for Gmail in Thunderbird?

Use IMAP. It keeps your emails on the server and syncs across all devices. POP3 downloads emails and can delete them from the server, which may cause you to lose messages if you access Gmail elsewhere.

Can I set up multiple Gmail accounts in Thunderbird?

Yes. Repeat the steps above for each account. Thunderbird will show them as separate accounts in the left pane.

Will Thunderbird sync my Gmail labels and folders?

Yes, IMAP syncs Gmail's labels as folders. Some special folders like “All Mail” and “Starred” may appear as read-only or with different names, but they will be there.

Is it safe to use Thunderbird with Gmail?

Yes, as long as you use the official Thunderbird client and enable SSL/TLS encryption. Google's OAuth2 authentication is supported, which is more secure than using a plain password.

What if I get a “Too many redirects” error during setup?

This usually happens with older Thunderbird versions. Update Thunderbird to the latest version, then try again. If it persists, temporarily disable any VPN or proxy that might interfere with Google's authentication.