Gmail IMAP and SMTP Settings for Cold Email Tools (2026)
By Kushal Magar · October 20, 2026 · 13 min read
Key Takeaway
Gmail IMAP settings are imap.gmail.com, port 993, SSL/TLS; SMTP is smtp.gmail.com on port 465 (SSL/TLS) or 587 (STARTTLS), with the full email address as username. Google Workspace uses the same servers. Plain passwords stopped working on March 14, 2025, so connect cold email tools with Sign in with Google (OAuth) or an app password. In Workspace, an admin usually has to mark the tool as Trusted in API controls, and each inbox should stay at 30 to 50 cold sends a day.
Gmail IMAP settings take ten seconds to copy: imap.gmail.com, port 993, SSL. Connecting the inbox to a cold email tool is where it breaks, usually with Application-specific password required or Error 400: admin_policy_enforced.
Most settings guides still tell you to switch IMAP on and allow less secure apps. Neither step exists anymore. Google removed the IMAP toggle for personal Gmail in January 2025 and turned off password-only sign-in for every Google account on March 14, 2025.
This guide lists the current Gmail and Google Workspace IMAP, SMTP and POP settings, then covers the two sign-in methods that still work: OAuth and app passwords. It walks through the Workspace admin settings, connecting Instantly, Smartlead and other sequencers, and a fix for every common error. Settings were checked against Google’s help center in October 2026, and we ran the connection tests below against Gmail’s servers on October 18, 2026.
TL;DR: Gmail IMAP Settings
- IMAP: imap.gmail.com, port 993, SSL/TLS. The username is the full email address.
- SMTP: smtp.gmail.com, port 465 with SSL/TLS or port 587 with STARTTLS. Authentication is required.
- Google Workspace uses the same servers for addresses on your own domain.
- IMAP is always on for personal Gmail since January 2025. In Workspace, an admin controls it under End User Access.
- Your normal password no longer works in third-party tools. Use Sign in with Google (OAuth) or a 16-character app password.
- Workspace OAuth often needs an admin to mark the cold email tool as Trusted in API controls. Otherwise users hit
admin_policy_enforced. - Send 30 to 50 cold emails per inbox per day. The 2,000 a day limit is a ceiling, not a target.
Gmail IMAP, SMTP and POP Settings
Gmail IMAP settings are imap.gmail.com on port 993 with SSL/TLS. Gmail SMTP settings are smtp.gmail.com on port 465 with SSL/TLS, or port 587 with STARTTLS. Both use the full email address as the username and sign in with OAuth or an app password. Cold email tools send sequences over SMTP and read replies, run warmup and fill the shared inbox over IMAP.
| Setting | IMAP (incoming) | SMTP (outgoing) | POP (incoming) |
|---|---|---|---|
| Server | imap.gmail.com | smtp.gmail.com | pop.gmail.com |
| Port | 993 | 465 or 587 | 995 |
| Encryption | SSL/TLS | SSL/TLS on 465, STARTTLS on 587 | SSL/TLS |
| Username | Full email address | Full email address | Full email address |
| Password | OAuth or app password | OAuth or app password | OAuth or app password |
| Authentication required | Yes | Yes | Yes |
| Cold email use | Reply detection, warmup, unibox | Sending sequences | Not used |
The values are identical for @gmail.com accounts and Google Workspace addresses such as sam@yourdomain.com. You do not need a custom server name for your domain.
One server to ignore: smtp-relay.gmail.comis Workspace’s SMTP relay service, which admins configure for printers, apps and servers. Cold email tools do not use it. They sign in to each mailbox through smtp.gmail.com.
Running Microsoft inboxes as well? Our Office 365 SMTP settings guide covers smtp.office365.com, SMTP AUTH and Microsoft’s own errors.
IMAP options that still live inside Gmail
Gmail’s web settings still matter, even without an IMAP switch. Two places affect cold email tools:
- Settings > See all settings > Forwarding and POP/IMAP: folder size limits and what happens when a client deletes a message. Leave the defaults unless a tool asks otherwise.
- Settings > Labels: each label has a Show in IMAP checkbox. Keep it ticked for Inbox, Sent Mail and Spam. Reply detection reads the inbox, and warmup tools pull warmup emails out of Spam over IMAP.
Port 465 or 587 for Gmail SMTP?
Both work. Gmail accepts authenticated submission on either port, and the choice only changes how encryption starts.
- Port 465 (SSL/TLS):the connection is encrypted from the first byte. Pick this when the tool’s form says SSL.
- Port 587 (STARTTLS): the connection opens in plain text, then upgrades to TLS. Pick this when the form says TLS or STARTTLS.
- Port 25: meant for server-to-server delivery and often blocked by ISPs and cloud hosts. Do not use it for sending from a cold email tool.
530 5.7.0 Must issue a STARTTLS command first. In our October 2026 test, both ports offered the same sign-in methods, including XOAUTH2 for OAuth.Do You Still Need to Enable IMAP in Gmail?
For personal Gmail, no. Google’s IMAP help page says IMAP access is always turned on. The Enable IMAP option was removed in January 2025, and existing connections kept working. Any guide that tells you to tick that box is describing a setting that no longer exists.
For Google Workspace, it depends on your admin. Admins can switch IMAP off for the whole domain or for one organizational unit. Some Workspace users do not see the Forwarding and POP/IMAP tab at all for the same reason. If a cold email tool reports that the account is not enabled for IMAP use, the fix is in the Admin console, not in Gmail.
One limit catches cold email teams: Gmail allows up to 15 simultaneous IMAP connections per account. A sequencer, a separate warmup tool, a CRM sync, a phone and a desktop client on one inbox add up fast. Past 15, new connections fail with Too many simultaneous connections.
Google Workspace Admin Settings for Cold Email
Three Admin console settings decide whether a cold email tool can connect a Workspace inbox. Changes can take up to 24 hours to apply, so make them before you buy and connect a batch of inboxes.
1. Turn on IMAP for the sending users
- Sign in at admin.google.com with the Gmail Settings admin privilege.
- Go to Menu > Apps > Google Workspace > Gmail > End User Access.
- Under POP and IMAP access, tick Enable IMAP access for all users.
- Choose Allow any mail client. If security requires Restrict which mail clients users can use, add the cold email tool’s OAuth Client ID to the allowed list.
- Save. Allow up to 24 hours for the change to apply.
Google documents each option in Turn POP and IMAP on or off for users. Tip: put sending inboxes in their own organizational unit, so you can loosen settings for them without touching the rest of the company.
2. Mark the cold email tool as Trusted
- Go to Menu > Security > Access and data control > API controls.
- Click Manage Third-Party App Access, then Configure new app.
- Paste the tool’s OAuth Client ID into the search box. Copy it from the tool’s connect screen, because IDs change.
- Select the app, choose the organizational unit, set access to Trusted, and finish.
Per Google’s API controls documentation, apps can be Trusted, Limited, limited to specific Google data, or Blocked. Pick Trusted. If your admin has restricted Gmail as a service, only Trusted apps can read and send mail.
Also check the setting for unconfigured third-party apps on the same page. The default allows any app. If it was changed to basic sign-in info only, or to no third-party apps, every tool you have not configured will be blocked.
3. Allow 2-Step Verification for app passwords
Only needed if you plan to use app passwords. Under Security > Authentication > 2-step verification, let users turn it on. If your policy enforces security keys only, app passwords are not available and OAuth is the only route.
OAuth vs App Passwords: Which Sign-In to Use
Two sign-in methods remain. Google ended less secure app access for personal accounts in 2022, then for all Workspace accounts on March 14, 2025. Its transition notice is direct: IMAP, SMTP and POP no longer work with legacy passwords, with the exception of app passwords.
| OAuth (Sign in with Google) | App password | |
|---|---|---|
| How it works | You approve the tool in a Google pop-up and it receives a token | A 16-character code stands in for your password on IMAP and SMTP |
| Needs 2-Step Verification | No | Yes |
| Workspace admin work | Often: mark the tool as Trusted in API controls | Usually none, as long as 2-Step Verification is allowed |
| Breaks when | An admin blocks the app, access is revoked, or the password changes | You change the Google password (every app password is revoked) |
| Best for | Workspace inboxes at scale. Google and most tools recommend it | Tools without a Google sign-in button, and quick one-off setups |
Default to OAuth.Google calls app passwords not recommended and unnecessary in most cases, and OAuth does not need 2-Step Verification or stored passwords. Use an app password when a tool only shows SMTP and IMAP fields, or when your Workspace admin will not trust the tool’s OAuth app.
How to Create a Gmail App Password
- Turn on 2-Step Verification under myaccount.google.com > Security.
- Open myaccount.google.com/apppasswords.
- Name it after the tool and inbox, for example Smartlead inbox 03, then click Create.
- Copy the 16-character code. Google shows it once, in four groups of four letters.
- Paste it into the tool’s SMTP and IMAP password fields without spaces. The username stays your full email address.
If the App passwords page is missing, check Google’s app password help. The usual causes are 2-Step Verification being off, 2-Step Verification set up only with security keys, Advanced Protection, or a work account that blocks the option.
Connect Gmail to Instantly
Instantly connects Google Workspace inboxes through OAuth, with an app password option for tools-only setups. For Workspace, the admin step comes first.
- In Instantly, open Email Accounts, click Add New, and choose Google. Pick the OAuth option and copy the Client ID it shows.
- In the Google Admin console, open Security > Access and data control > API controls > Manage Third-Party App Access > Configure new app.
- Paste the Client ID. Searching for the name Instantly does not find it.
- Select the Instantly app, apply it to all users or the sending organizational unit, set it to Trusted, and finish.
- Back in Instantly, click Login, choose the inbox, and allow every requested permission.
- Repeat per inbox. If only the admin account appears, click Use another account or open an incognito window.
Prefer app passwords? Pick the app password option instead and enter the IMAP and SMTP settings from the table above. For a wider look at the platform, read our Instantly review or see the SyncGTM and Instantly integration.
Connect Gmail to Smartlead
Smartlead offers Google OAuth and a manual SMTP connection. It recommends OAuth because no password is stored and disconnects are rarer.
- OAuth:go to Email Accounts > Add Account and choose Google. If your Workspace restricts third-party apps, trust Smartlead’s Client ID in API controls first, the same way as Instantly.
- SMTP with an app password: choose the SMTP option and enter smtp.gmail.com on port 465 with SSL, and imap.gmail.com on port 993 with SSL. Use the full email address and the app password, click Test Connection, then check Gmail for the test email.
Comparing sequencers before you connect fifty inboxes? See our Smartlead review, the Smartlead vs Instantly comparison, and the SyncGTM and Smartlead integration.
Other Sequencers: Manual IMAP and SMTP
Most cold email platforms offer a Sign in with Google button. Use it when it is there. When a tool only shows server fields, map them like this:
| Field | Value |
|---|---|
| SMTP host | smtp.gmail.com |
| SMTP port | 465 with SSL/TLS, or 587 with STARTTLS |
| SMTP username | Full email address, for example sam@yourdomain.com |
| SMTP password | 16-character app password, pasted without spaces |
| IMAP host | imap.gmail.com |
| IMAP port | 993 with SSL/TLS |
| IMAP username and password | Same as SMTP |
| From name and reply-to | Your sender name and the same mailbox address |
Fill in both halves. A tool with working SMTP and broken IMAP still sends, but it misses replies and keeps emailing people who already answered.
Gmail Sending Limits vs Safe Cold Email Volume
Google publishes hard limits for personal Gmail and for Google Workspace. Treat them as the point where Google stops you, not as a sending plan.
| Limit | Free Gmail | Google Workspace |
|---|---|---|
| Messages per day, per user | 500 | 2,000 (500 on a trial account) |
| Recipients per message | 500 | 2,000 total, up to 500 external |
| Total recipients per day | Not published separately | 10,000 |
| External recipients per day | Not published separately | 3,000 |
| Unique external recipients per day | Not published separately | 2,000 (500 on a trial account) |
| When a limit is hit | Sending pauses for 1 to 24 hours | Sending pauses for up to 24 hours |
| Safe cold email volume | Do not cold email from @gmail.com | 30 to 50 sends per warmed inbox per day |
Trial Workspace accounts stay at the lower limits until the domain has paid at least $100 in total, and the increase can take up to 75 days. Buy paid seats for sending inboxes from day one.
For cold email, keep each warmed inbox at 30 to 50 sends per day and scale by adding inboxes and domains. New inboxes start lower and ramp over several weeks; our Gmail warmup guide and email warmup schedule show the ramp. Skip @gmail.com addresses for outreach entirely; see the best email hosting for cold email instead.
Volume to Gmail recipients has its own rules. Google’s sender guidelines require all senders to keep spam rates under 0.3%. Anyone sending 5,000 or more messages a day to personal Gmail accounts also needs SPF, DKIM and DMARC, an aligned From domain and one-click unsubscribe for marketing mail.
Gmail IMAP and SMTP Errors and Fixes
Cold email tools usually pass Gmail’s raw error through. Match the text to the table below. Google keeps the full list in Gmail SMTP errors and codes.
| Error | Cause | Fix |
|---|---|---|
| 534 5.7.9 Application-specific password required | 2-Step Verification is on and the tool sent your normal Google password | Create an app password, or reconnect with Sign in with Google. |
| 535 5.7.8 Username and Password not accepted | Wrong address or password, a mistyped app password, or app passwords revoked by a password change | Use the full email address, generate a fresh app password, and paste it without spaces. |
| 534 5.7.14 Please log in through your web browser and then try again | Google treated the sign-in from the tool's servers as suspicious | Sign in to Gmail in a browser, confirm the activity on the Security page, then reconnect (OAuth avoids this). |
| 454 4.7.0 Too many sign-in attempts, try again later | The tool retried a failing login many times | Pause the inbox in the tool, fix the credentials, and wait before retrying. |
| 530 5.7.0 Must issue a STARTTLS command first | Port 587 is set without STARTTLS | Turn on TLS or STARTTLS for port 587, or switch to port 465 with SSL. |
| Daily user sending limit exceeded | The inbox passed Google's daily sending limit | Wait up to 24 hours, then lower the daily cap and add inboxes instead. |
| 421 4.7.28 Gmail has detected an unusual rate of email | Gmail is rate limiting mail from your domain or IP to its users | Slow down, spread volume across domains, and check your spam rate in Postmaster Tools. |
| 550 5.7.26 This email has been blocked because the sender is unauthenticated | SPF, DKIM or DMARC is missing or failing | Publish all three records for the sending domain and confirm they align. |
| [ALERT] Application-specific password required (IMAP) | Same cause as 534 5.7.9, raised by the IMAP connection | Use an app password or OAuth for the IMAP side as well. |
| [AUTHENTICATIONFAILED] Invalid credentials (IMAP) | Wrong, expired or revoked password on the IMAP connection | Regenerate the app password and update both IMAP and SMTP fields. |
| [ALERT] Your account is not enabled for IMAP use | A Workspace admin turned IMAP off for this user or organizational unit | The admin enables IMAP under End User Access. Allow up to 24 hours. |
| Too many simultaneous connections | More than 15 IMAP clients are connected to one inbox | Disconnect old tools, phones and sync apps from that inbox. |
Bounces cause sending blocks too. Our guide to soft bounce emails explains how to catch them before they turn into a lockout.
Blocked Sign-Ins and OAuth Errors in Google Workspace
OAuth errors appear in the Google pop-up, not in the cold email tool. Almost all of them trace back to a Workspace policy, so the fix usually needs an admin.
| Error | Cause | Fix |
|---|---|---|
| Error 400: admin_policy_enforced | A Workspace policy blocks the tool's OAuth app | Admin marks the app as Trusted by Client ID in API controls. |
| This app is blocked (or Access blocked) | The app is set to Blocked, or unconfigured third-party apps are not allowed | Admin sets the app to Trusted, or relaxes the unconfigured apps setting for the sending inboxes. |
| Error 403: access_denied | Consent was cancelled or a requested permission was refused | Reconnect and approve every permission, including sending email. |
| Only the admin account shows in the account picker | The browser is still signed in as the admin | Click Use another account, or connect each inbox from an incognito window. |
| OAuth succeeds but IMAP sync fails | IMAP is limited to approved OAuth mail clients | Add the tool's Client ID to the IMAP allowed list, or allow any mail client. |
| Inbox disconnects after a password reset | Google expires refresh tokens with Gmail access when the password changes | Reconnect the inbox in the tool after any password change. |
Checklist when sign-in is blocked
- Confirm the person adding the inboxes is a Workspace admin, or has one on hand.
- Copy the Client ID from the tool’s current connect screen, not from an old screenshot.
- Check that no child organizational unit overrides the Trusted setting for the sending inboxes.
- Confirm IMAP is on for that organizational unit and, if restricted, lists the tool’s Client ID.
- Reconnect in an incognito window and approve every permission on the consent screen.
How to Test Gmail IMAP and SMTP Connections
Before blaming the tool, check that your network reaches Gmail. We ran these commands on macOS on October 18, 2026. IMAP answered with the Gimap ready banner, and both SMTP ports listed the same sign-in methods.
Connection tests (macOS, Linux, or Windows with OpenSSL)
# IMAP on 993: expect "* OK Gimap ready for requests from ..."
openssl s_client -connect imap.gmail.com:993 -crlf -quiet
# Optional login test with an app password, typed after the banner
a1 LOGIN sam@yourdomain.com abcdefghijklmnop
a2 LOGOUT
# SMTP on 587 with STARTTLS: type EHLO and expect a 250-AUTH line
openssl s_client -starttls smtp -connect smtp.gmail.com:587 -crlf -quiet
EHLO test
# SMTP on 465 with implicit TLS: expect "220 smtp.gmail.com ESMTP ... gsmtp"
openssl s_client -connect smtp.gmail.com:465 -crlf -quietSMTP sign-in methods Gmail advertised after EHLO
250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTHXOAUTH2 and OAUTHBEARER are the OAuth methods, and LOGIN and PLAIN accept app passwords. If the banner appears but a tool still cannot sign in, the problem is authentication, not networking. Go back to the error tables. Do not paste a live app password into a shared terminal or screen recording.
SPF, DKIM and DMARC for Google Workspace
Correct IMAP and SMTP settings connect the inbox. DNS authentication decides whether its mail lands in the inbox. Every Workspace sending domain needs all three records.
DNS records
SPF TXT @ v=spf1 include:_spf.google.com ~all
DKIM TXT google._domainkey v=DKIM1; k=rsa; p=<key generated in the Admin console>
DMARC TXT _dmarc v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com- SPF: one record per domain with
include:_spf.google.com. Merge includes if another service sends for the same domain. - DKIM:generate a 2048-bit key under Apps > Google Workspace > Gmail > Authenticate email, publish the TXT record, then click Start authentication. Google’s DKIM setup guide has the details, and our Gmail DKIM guide covers troubleshooting.
- DMARC: start at
p=noneto collect reports, then move to quarantine once SPF and DKIM pass.
For the full domain setup and ramp, read our email domain warmup guide. To see where mail actually lands, use one of the best inbox placement testing tools.
Protect Gmail Inboxes With Clean Lists
Bounces are one of the fastest ways to lose a Google Workspace inbox. Google itself warns that messages bouncing from invalid addresses can pause sending for up to 24 hours, and repeated bounces damage the domain’s reputation for weeks.
SyncGTM verifies every address before it reaches your sequencer. Email verification costs 0.1 credits per address, and finding a work email costs 1 credit, with no charge when nothing is found.
Lookups run through a waterfall of 50+ data providers, then clean leads sync into Instantly, Smartlead or your CRM. See SyncGTM pricing for credit packs.
Conclusion
The Gmail IMAP settings fit on one line: imap.gmail.com, port 993, SSL/TLS. SMTP is smtp.gmail.com on 465 or 587. Most failures come from sign-in rules around those settings, not from the settings themselves.
Connect with OAuth, have your Workspace admin trust the cold email tool and keep IMAP on for sending inboxes. Fall back to one app password per tool, and keep each inbox at 30 to 50 sends a day.
Then keep every list clean with SyncGTM so bounces never put your Gmail inboxes on pause.
