Salesmate "Authorization with Gmail failed": Gmail IMAP fix
Salesmate shows "Authorization with Gmail failed" when it can't read your Gmail account over IMAP. In Gmail settings, enable IMAP, choose "Do not limit the number of messages in an IMAP folder", and show All Mail in IMAP. Then reconnect the account in Salesmate. Other causes are covered below.
Sohail Hussain8 min readShort answer
- In Gmail, open Settings, then Forwarding and POP/IMAP, and set the folder limit to "Do not limit the number of messages in an IMAP folder".
- Then open the Labels tab, tick Show in IMAP for All Mail, and reconnect the account in Salesmate.
- On Google Workspace, an admin may have switched IMAP off for your organization; that has to be fixed in the Admin console.
You tried to connect Gmail to Salesmate's email sync and got Authorization with Gmail failed. The text is generic, so it doesn't tell you which setting is wrong. Most cases come down to a few Gmail-side settings, plus an old Google grant that needs to be cleared.
Why Salesmate shows this error
The message comes from Salesmate, not from Google. Salesmate tried to open the mailbox and could not. Salesmate's help article names two probable causes: IMAP is disabled, or IMAP is disabled for the "All Mail" label. Its checklist also covers the folder message limit.
Causes, most common first:
- The All Mail label is hidden from IMAP. Gmail keeps every message in All Mail, and Salesmate's full sync expects to see it.
- A folder size limit is set. Salesmate wants "Do not limit the number of messages in an IMAP folder" selected.
- IMAP is off at the Workspace level. If an admin turns IMAP off, users can't get email with IMAP clients, and the POP and IMAP settings disappear from Gmail.
- A stale or wrong Google grant. Salesmate's support pages suggest removing its access from your Google Account and connecting again.
- Unknown: if all of the above is correct and a fresh connection still fails, the cause is on Salesmate's side. I can't tell you more from the outside.
Fix 1: Check the Gmail IMAP settings and All Mail label
Do this signed in to the exact Gmail account you are connecting.
- In Gmail, click the gear icon, then See all settings.
- Open the Forwarding and POP/IMAP tab.
- Under IMAP access, check the status. If you see Enable IMAP, select it. If there is no such option, read the note below.
- Under Folder size limits, select Do not limit the number of messages in an IMAP folder (default).
- Click Save Changes.
- Open the Labels tab. In the System labels list, find All Mail and make sure Show in IMAP is ticked. Tick it for the other system labels too, as Salesmate's article suggests.
- Go back to Salesmate and add the Gmail account again.
Personal Gmail has no IMAP switch now
Google says that since January 2025 personal accounts no longer have an Enable or Disable IMAP choice, because IMAP is always on. If you have a personal account, skip the on/off step and focus on the folder limit and the All Mail label.
Google documents this change in its help page saying the Enable IMAP and Disable IMAP choice won't be available from January 2025, and IMAP access is always turned on in Gmail. See Google's page on adding Gmail to another email client. The Salesmate article still lists "Enable IMAP", so it may be out of date for personal accounts.
For Salesmate's own version of these steps, see its article How to overcome an "Authorization with Gmail failed" error.
Fix 2: Ask your Workspace admin about IMAP
If the Forwarding and POP/IMAP tab or the IMAP section is missing, you are probably on a managed Workspace account with IMAP turned off. Your own settings can't override that.
An admin with the Gmail Settings privilege can check this. In the Admin console, the path is Apps, then Google Workspace, then Gmail, then End User Access. Under POP and IMAP access, IMAP must be enabled for the organizational unit your user is in.
There is a second control to check. Admins can allow all IMAP clients or only specified ones, and specified clients must support OAuth. If your org uses an allowlist, ask whether Salesmate is on it. Google's page on turning POP and IMAP on or off for users has the full steps.
Send your admin the exact error text and the Gmail address, and ask which of these is blocking it.
Fix 3: Remove Salesmate's access and reconnect
If the settings are right, the saved authorization may be the problem. Salesmate's support page on connecting Gmail describes this route:
- Open Manage your Google Account, then Manage your data & privacy.
- Go to Apps and services, then Third-party apps with account access.
- Select Salesmate.io and choose Remove access.
- Refresh Salesmate and connect the account again, choosing the correct Google account. Salesmate's steps then say to allow permissions and select the folders to sync.
If the account connected earlier and then started failing, Salesmate also documents a re-authorize route. Open your Email Outbox and click Re-authorize Account next to the unsent email. Alternatively, go to your profile icon, then Go to My Account, then Email Settings, then SMTP & BCC, select the account and click Update.
Connect with the right account
A common slip is approving the Google permission screen with a different account than the mailbox you meant to add. Check the address on the consent screen before you click Allow.
Which cause do you have?
| What you see | Likely cause | Fix |
|---|---|---|
| Folder limit is set to a number | Message limit on IMAP folders | Fix 1, step 4 |
| All Mail has Show in IMAP unticked | Label hidden from IMAP | Fix 1, step 6 |
| No IMAP section in Gmail settings | Workspace admin disabled IMAP | Fix 2 |
| Worked before, stopped later | Stale grant or changed account details | Fix 3 |
| Everything correct, fresh reconnect fails | Unknown, possibly Salesmate side | Contact support |
Checklist before you try again
- You are signed in to the same Gmail account you are adding to Salesmate.
- The folder limit is set to "Do not limit the number of messages in an IMAP folder".
- Show in IMAP is ticked for All Mail.
- On Workspace, IMAP is enabled for your organizational unit.
- Salesmate's access was removed in your Google Account, then added again.
- You approved every permission on the Google consent screen.
If nothing works
Contact Salesmate support through its help center. Include the exact error, the Gmail address, whether it is personal or Workspace, screenshots of your Forwarding and POP/IMAP and Labels tabs, and what you already tried.
On response times, I have no data. Some Trustpilot reviewers describe trouble connecting email accounts and slow replies; those are individual opinions, so judge by your own experience.
Subject: "Authorization with Gmail failed" when connecting Gmail (full sync)
Hello,
I get "Authorization with Gmail failed" when connecting {your-gmail-address}
to Salesmate two-way email sync.
Account type: {personal Gmail / Google Workspace}
Last failed attempt: {date, time, time zone}
Already done:
- Folder limit set to "Do not limit the number of messages in an IMAP folder"
- Show in IMAP enabled for All Mail
- Removed Salesmate under Third-party apps in my Google Account and reconnected
- {Workspace only: admin confirmed IMAP is enabled for my organizational unit}
Screenshots of my Forwarding and POP/IMAP and Labels tabs are attached.
Can you check the logs for this connection attempt?
Thanks,
{your name}
Where Mailneo fits
Mailneo also connects Gmail and Google Workspace mailboxes, and Gmail connects by OAuth. We can't fix a Salesmate connection, and the Gmail-side settings above apply to any tool. A Workspace policy that blocks third-party mail access blocks every app, ours included. If you want to see how mailboxes connect in Mailneo, the steps are in our email accounts documentation.
Common questions
Does the Zapier error "authentication failed: error is not defined" mean the same thing?
No. It is a different message from a different system. Reconnecting the Salesmate connection inside Zapier is the first thing to try; the Gmail IMAP settings above are unrelated.
I can't find Enable IMAP in my Gmail settings. Is that the problem?
Not for a personal account, since Google says IMAP is always on there. On Workspace, a missing IMAP section usually points to an admin setting (Fix 2).
Can Gmail's IMAP limits cause connection trouble too?
Yes, in some cases. Google says you can only use 15 IMAP connections per account, so many clients syncing the same mailbox at once can cause errors. Close or sign out of clients you don't use.
Do I need to disconnect other mail clients to fix it?
Usually not. Try it only if you suspect too many simultaneous connections, and only after the settings and grant fixes.
Explore: Email Marketing Strategy
Related Articles
ActiveCampaign n8n error 301 on create contact: causes and fixes
A 301 from the ActiveCampaign node means the request went to a URL that redirects, so start with the API URL in your n8n credential. Copy it from Settings, then Developer, and check the scheme and path. Zapier 403 and cURL error 28 behind Cloudflare have different causes, covered below.
"Stage not on allowlist": Apollo to HubSpot sync fix
The error "Stage not on allowlist" means the contact's Apollo stage is not on the list of stages permitted to push to HubSpot. Open the HubSpot integration in Apollo, go to the Sync tab, and add that stage under "Stages for push contacts". Lifecycle stage mapping is a separate setting.
AWeber export "Stop Status" and "Stop Time" columns explained
In an AWeber subscriber export, a non-empty Stop Time and a non-zero Stop Status most likely mean the person has stopped receiving your mail, usually because they unsubscribed. AWeber doesn't explain the columns in the file, so verify against a few known unsubscribes, then import those rows as blocked, not subscribed.
AWeber "You must have permission to add apps" Facebook error
The AWeber error "You must have permission to add apps to at least one Facebook Page" usually appears even when you own the account, because Facebook only allows business Pages. Connect a business Page (not a profile or group), check your Page role and the Facebook login in use, then retry.
Ready to supercharge your email marketing?
Start sending smarter emails with AI-powered campaigns. No credit card required.
Get Started Free