Complete guide to setting up Gmail IMAP in your email client

You receive your Gmail emails on the web, but you prefer to read them from Thunderbird, Outlook, or Apple Mail. For these programs to retrieve your messages, they need a communication protocol with Google’s servers. That’s the role of IMAP: it synchronizes your folders between Gmail and your email client without deleting emails from the remote server.

OAuth and App Passwords: What’s Changed for Gmail IMAP

Before adjusting your software settings, it’s important to understand how Google now manages access to its servers. The old “less secure apps” setting has been removed. There is no longer a switch in the admin console to reactivate it, neither for personal accounts nor for Workspace accounts.

Related reading : The secrets to succeed in your marketing strategy and boost your business

Google now enforces OAuth authentication as the primary method. Specifically, your email software opens a Google login window, you enter your credentials, and a secure token is exchanged without the password being transmitted directly. Recent versions of Outlook, Apple Mail, and Thunderbird natively handle OAuth.

If your software does not offer OAuth, you can create an app password from the security settings of your Google account, provided that two-step verification is enabled. This password replaces your usual password only in the login field of the email client.

You may also like : Why hire an IT management agency in Nantes to secure your IT?

For Workspace accounts, the management differs: the domain administrator controls whether app passwords are allowed.

If you want to delve deeper into the Gmail IMAP configuration, be aware that this authentication step is what blocks most users in case of connection failure.

Gmail IMAP and SMTP Server Settings: Exact Values

Once authentication is set up, your software will ask for the server details. These values do not change from one client to another.

Professional man configuring an email client with Gmail IMAP settings in a business setting

Here are the settings to enter for incoming and outgoing mail:

  • Incoming IMAP Server: imap.gmail.com, port 993, SSL/TLS encryption required
  • Outgoing SMTP Server: smtp.gmail.com, port 465 with SSL or port 587 with STARTTLS, authentication required
  • Username: your full Gmail address (e.g., [email protected])
  • Password: your app password or OAuth login depending on your software

A common mistake is entering port 143 (unencrypted IMAP) instead of port 993. Gmail refuses any IMAP connection without encryption. If your software shows “the server is not responding,” check this point first.

Difference Between IMAP and POP for Gmail

POP downloads messages and can delete them from the server. IMAP synchronizes them: an email read on your computer appears as read on your phone and in the web interface. IMAP is the only suitable protocol if you access Gmail on multiple devices.

For personal Gmail accounts, IMAP access is enabled by default. The old activation switch in the forwarding settings is no longer necessary.

Troubleshooting IMAP Connection Failures with Gmail

Is your software displaying an error after entering all the settings? The causes are almost always the same.

The regular password no longer works for IMAP. If you enter your usual Gmail password in a client that does not support OAuth, the connection is denied. The solution: generate an app password in the Google security settings under “Two-Step Verification.”

Another common pitfall: an antivirus or firewall blocking port 993 or port 465. Temporarily disable your antivirus’s SSL filtering to test. Some security software intercepts TLS certificates, causing a certificate error in Thunderbird or Outlook.

Computer screen displaying the configuration of Gmail IMAP server settings in an email client

Case of Google Workspace Accounts

On a Workspace business account, the administrator can restrict IMAP access at the admin console level. If the connection fails despite correct settings, contact your administrator to verify that IMAP access is allowed for your organizational unit.

Workspace accounts are also subject to IMAP session limits. In case of synchronizing very large volumes of messages, Google may temporarily slow down or deny connections. Reducing the number of folders synchronized in your client’s settings often resolves the issue.

IMAP Settings on Gmail Side: Folders and Labels

Gmail does not function exactly like a traditional IMAP server. Gmail labels are translated into IMAP folders. The same message can have multiple labels, meaning it appears in several folders in your software.

This behavior can sometimes lead to higher than expected disk space consumption. To remedy this, open the Gmail settings in your browser, go to the “Labels” tab, and uncheck “Show in IMAP” for the labels you do not want to synchronize.

  • The folder “[Gmail]/All Mail” contains your entire inbox. Synchronizing it means downloading all your emails
  • The folder “[Gmail]/Trash” corresponds to the Gmail trash. Messages deleted in your client are moved there
  • “[Gmail]/Spam” synchronizes junk messages, which is rarely useful in a local client

Limiting synchronization to a few folders speeds up the initial loading and reduces quota overrun errors on slow connections.

The IMAP protocol remains the most reliable method to centralize multiple Gmail accounts in a single software. The configuration consists of a few server values, but it is the authentication that determines whether the connection succeeds. Check OAuth first, keep an app password as a backup, and disable unnecessary folders for smooth synchronization.

Complete guide to setting up Gmail IMAP in your email client