Article

Content

Gmail IMAP Config for Cold Email: Step-by-Step 2026

Gmail IMAP Config for Cold Email: Step-by-Step 2026

Gmail IMAP Config for Cold Email: Step-by-Step 2026

Table Of Contents

Scanning page for headings…

Connecting a Gmail or Google Workspace inbox to a cold email tool via IMAP takes about five minutes — but a wrong app password or a missed setting sends your whole setup into 'authentication failed' loops. This walkthrough covers Gmail IMAP config for cold email, step by step: enabling IMAP, creating an app password, entering the exact server settings, and why OAuth is usually the better connection method anyway.

Stop Losing Emails to Spam — Get Pre-Warmed Inboxes
Ready to send from day 1. No warm-up wait. No extra tools needed.
Find Your Sending Domains →
100,000+ mailboxes · US & EU IPs · From $4.99/inbox

What IMAP Connection Actually Does

IMAP is one way a cold email tool connects to your Gmail or Google Workspace inbox to send and read mail — it uses your email server settings and a password to link the inbox to the tool. Configuring it right means the tool can send from and monitor your inbox; configuring it wrong means authentication failures.

When you connect an inbox to a sending tool via IMAP (and SMTP for sending), the tool signs into your inbox using server addresses, ports, and credentials — so it can send campaigns from the inbox and read replies. Gmail requires specific settings and, crucially, an app password (not your normal password) because of its security. Get the settings and app password right, and the connection works; get them wrong, and you hit “authentication failed” loops.

So Gmail IMAP config is about entering the correct server settings and using an app password. It’s straightforward once you know the exact values and steps, but each has a common failure point (IMAP not enabled, wrong app password, 2FA not set up) that trips people up. Getting each right is what makes the connection stick.

Below is the step-by-step Gmail IMAP config for cold email: enabling IMAP, creating an app password, entering the exact server settings, and why OAuth is usually the better connection method. The core point is the exact steps and settings — plus the reason OAuth often beats IMAP for cold email.

Stop Losing Emails to Spam — Get Pre-Warmed Inboxes
Ready to send from day 1. No warm-up wait. No extra tools needed.
Find Your Sending Domains →
100,000+ mailboxes · US & EU IPs · From $4.99/inbox

The Step-by-Step IMAP Config

Here’s the exact Gmail IMAP config for connecting to a cold email tool, in order.

  1. Enable IMAP in Gmail. Gmail settings > See all settings > Forwarding and POP/IMAP > enable IMAP > save.

  2. Turn on 2-Step Verification. Required to create an app password. Google Account > Security > 2-Step Verification > turn on.

  3. Create an app password. Google Account > Security > App passwords > generate one for “Mail.” Use this 16-character password in the tool, not your normal password.

  4. Enter the server settings. IMAP: imap.gmail.com, port 993, SSL. SMTP: smtp.gmail.com, port 465 (SSL) or 587 (TLS). Username: your full email. Password: the app password.

  5. Test the connection. The tool should connect and confirm. If it fails, recheck IMAP is enabled, 2FA is on, and you used the app password (not your login password).

Enable IMAP, turn on 2FA, create an app password, enter the settings, test. The app password step is where most people go wrong. Our domain setup guide covers the broader inbox setup.

Need pre-warmed inboxes ready today? Litemail delivers Google Workspace & Microsoft 365 mailboxes with weeks of warm-up history built in.Check Available Domains →

The Exact Server Settings

Here are the exact Gmail server settings for IMAP and SMTP — the values to enter in your cold email tool.


Setting

Value

IMAP server

imap.gmail.com

IMAP port

993 (SSL)

SMTP server

smtp.gmail.com

SMTP port

465 (SSL) or 587 (TLS)

Username

your full email address

Password

16-character app password


IMAP imap.gmail.com port 993, SMTP smtp.gmail.com port 465 or 587, username is your full email, password is the app password. These are the same for Gmail and Google Workspace. Get one wrong and the connection fails.

Litemail's pre-warmed Google Workspace & Microsoft 365 inboxes come with US/EU IPs, automated DNS, full admin access, and 4–12 weeks of warm-up history — all from $4.99/inbox. No separate warm-up tool needed.

Why OAuth Is Usually Better for Cold Email

Here’s a caveat: while IMAP works, OAuth is usually the better way to connect a cold email inbox — it’s more stable, more secure, and increasingly required. For cold email, prefer OAuth if the tool supports it.

OAuth connects via a secure Google sign-in rather than an app password. It’s more stable (app-password connections can break when security settings change), more secure (no password stored in the tool), and Google is pushing toward OAuth as the standard — basic password authentication is being deprecated. So for cold email, where you want stable, lasting inbox connections, OAuth is usually the better choice. IMAP with an app password still works and is fine if OAuth isn’t available, but OAuth avoids the app-password fragility and aligns with where Google is heading.

💡 Prefer OAuth Over IMAP App Passwords for Cold Email

OAuth connects via secure Google sign-in, not an app password — more stable (doesn’t break when security settings change), more secure (no stored password), and increasingly required as Google deprecates basic password auth. For cold email, prefer OAuth if your tool supports it. IMAP with an app password still works as a fallback, but OAuth avoids the app-password fragility and aligns with Google’s direction.

So while this guide covers IMAP config (which you’ll need if OAuth isn’t available), prefer OAuth for cold email when you can. It’s the more stable, secure, future-proof connection. Use IMAP with an app password as a solid fallback, following the exact steps and settings above. Either way, the connection is the bridge between your inbox and your tool — get it right, and your cold email sends and monitors replies reliably.

The Wrong-Password Mistake

The mistake that traps most people in IMAP config is using their normal Gmail password instead of an app password — causing endless “authentication failed” errors.

🚩 Use the App Password, Not Your Login Password

The most common Gmail IMAP failure is entering your normal login password instead of the 16-character app password — Gmail rejects it, giving endless “authentication failed” errors. You must turn on 2-Step Verification, generate an app password for Mail, and use that in the tool. If IMAP keeps failing, this is almost always why. (Or switch to OAuth and skip app passwords entirely.)

The fix is to use the app password, not your login password — and to ensure IMAP is enabled and 2FA is on (required for app passwords). Most IMAP config failures trace to these: normal password used instead of app password, IMAP not enabled, or 2FA not turned on (so app passwords aren’t available). Check all three, and the connection works. Better still, if your tool supports OAuth, use it and skip app passwords entirely — avoiding this whole failure mode. So for reliable IMAP config: enable IMAP, turn on 2FA, use the app password. Or prefer OAuth.

Start Sending Cold Email Today — Not in 6 Weeks
Pre-warmed Google Workspace & Microsoft 365 inboxes. Automated DNS. US & EU IPs. From $4.99/inbox.
See Domains Ready to Send →
No credit card required · Setup in 5 minutes · Cancel anytime
Start Sending Cold Email — Pre-warmed inboxes from $4
Get Inboxes

Config It Right, But Prefer OAuth

Gmail IMAP config for cold email is quick once you know the steps: enable IMAP in Gmail, turn on 2-Step Verification, create an app password, enter the exact server settings (imap.gmail.com:993, smtp.gmail.com:465/587, full email as username, app password), and test. The app-password step is where most people go wrong — use the app password, not your login password.

But prefer OAuth for cold email when your tool supports it — it’s more stable, more secure, and increasingly required as Google deprecates basic password auth. IMAP with an app password is a solid fallback; OAuth avoids the app-password fragility and aligns with Google’s direction. Either way, get the connection right so your tool can send and monitor replies reliably.

Pre-warmed inboxes make the connection step even simpler — they arrive ready to connect via OAuth, warmed and authenticated, so you skip both the IMAP fiddliness and the warm-up. Litemail pre-warmed Google Workspace inboxes connect via OAuth in minutes, from $4.99/inbox. So configure Gmail IMAP correctly if you need it (exact settings, app password), but prefer OAuth — and with pre-warmed inboxes, the whole connection is a quick, stable OAuth sign-in that gets your cold email sending reliably.

Get Fresh Email Inboxes — Set Up in 30 Minutes
Real Google Workspace and Microsoft 365 accounts on your domains. Automated DNS, SPF, DKIM and DMARC included.
Find Your Sending Domains →
Starts at $2.50/inbox · Automated DNS · No manual setup

Related Resources

Skip the IMAP fiddliness — connect via OAuth in minutes. Litemail pre-warmed Google Workspace inboxes arrive ready to connect, warmed and authenticated — dedicated US and EU IPs — from $4.99/inbox, no minimum order. Get Pre-Warmed Inboxes → About Litemail — Litemail provides pre-warmed Google Workspace and Microsoft 365 inboxes for cold email outreach. From $4.99/inbox with automated DNS, dedicated US and EU IPs, and full admin access.

Related reading: Domain Setup · Setup Guide · Deliverability Guide · Authentication Setup · Litemail Pre-Warmed Inboxes — Plans and Pricing

Frequently Asked Questions

How do I configure Gmail IMAP for a cold email tool?

Enable IMAP in Gmail (Settings > Forwarding and POP/IMAP > enable IMAP), turn on 2-Step Verification, create an app password for Mail (Google Account > Security > App passwords), then enter the server settings in your tool: IMAP imap.gmail.com port 993 (SSL), SMTP smtp.gmail.com port 465 (SSL) or 587 (TLS), your full email as username, and the 16-character app password. Then test the connection.

What are the Gmail IMAP and SMTP settings?

IMAP server is imap.gmail.com on port 993 (SSL); SMTP server is smtp.gmail.com on port 465 (SSL) or 587 (TLS). Username is your full email address, and the password is the 16-character app password you generate — not your normal login password. These settings are the same for both personal Gmail and Google Workspace accounts.

Why does my Gmail IMAP connection keep failing?

Almost always one of three things: you used your normal login password instead of the app password (Gmail rejects it), IMAP isn't enabled in Gmail settings, or 2-Step Verification isn't turned on (which you need to create an app password). Check all three. If IMAP still fails and your tool supports OAuth, switch to OAuth to avoid app passwords entirely.

Do I need an app password for Gmail IMAP?

Yes — Gmail's security requires an app password for IMAP/SMTP connections, not your normal login password. To create one, you must first turn on 2-Step Verification, then go to Google Account > Security > App passwords and generate a 16-character password for Mail. Use that in your cold email tool. Alternatively, connect via OAuth, which uses a secure sign-in and skips app passwords.

Should I use IMAP or OAuth to connect my cold email inbox?

OAuth is usually better for cold email — it connects via a secure Google sign-in rather than an app password, so it's more stable (doesn't break when security settings change), more secure (no stored password), and increasingly required as Google deprecates basic password authentication. IMAP with an app password still works as a fallback, but prefer OAuth when your tool supports it.

How does Litemail simplify inbox connection?

Litemail pre-warmed Google Workspace inboxes arrive ready to connect via OAuth — warmed and authenticated, on dedicated US and EU IPs from $4.99/inbox — so you skip both the IMAP app-password fiddliness and the weeks of warm-up. The connection is a quick, stable OAuth sign-in that gets your cold email sending reliably, without the authentication-failed loops that trip up manual IMAP config.

Buy Pre-Warmed Email Inboxes & Domains | Litemail

Buy pre-warmed email accounts, inboxes, and domains from $4.99/inbox. Google Workspace and Microsoft 365. Verified reputation, SPF/DKIM/DMARC pre-configured, US and EU IPs, full admin access, no minimum order.

View Plans & Pricing → Related reading: Domain Setup · Setup Guide · Authentication Setup · Litemail Pre-Warmed Inboxes — Plans and Pricing

Stop Losing Emails to Spam — Get Pre-Warmed Inboxes
Ready to send from day 1. No warm-up wait. No extra tools needed.
Find Your Sending Domains →
100,000+ mailboxes · US & EU IPs · From $4.99/inbox

Share

Share LiteMail automated email setup on Twitter (X)
Share LiteMail email marketing growth strategies on Facebook
Share LiteMail inbox placement and outreach analytics on LinkedIn
Share LiteMail cold email infrastructure on Reddit
Share LiteMail affordable business email plans on Pinterest
Share LiteMail deliverability optimization services on Telegram
Share LiteMail cold email outreach tools on WhatsApp
Share Litemail on whatsapp