Steps
How we tested, and what is real
On 30 October 2026 we ran a throwaway n8n 2.43.7 in Docker (the official
n8nio/n8n:2.43.7image) and ran the Gmail node (version 2.1, Message: Send and Get Many) with five credentials: a service account with a freshly generated RSA key and an account email Google does not know, the same account with Impersonate a User on, a broken private key, a Gmail OAuth2 credential that was never connected, and one with a stored but fake token and a fake client. The rows marked tested are copied from those runs. We had no real Google account, so the delegation, precondition, expired-token and API-disabled rows come from Google's documentation and are marked as not tested.Quick answer: which error do you have?
What you get Cause Fix Unable to sign without access token(tested)The Gmail OAuth2 credential was saved but you never clicked Sign in with Google. Open the credential and finish the Google sign-in. Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method).(tested)n8n tried to refresh the access token and Google rejected the Client ID or Client Secret. Copy the Client ID and Secret again from the same Google Cloud OAuth client, save, and reconnect. 400 - {"error":"invalid_grant","error_description":"Invalid grant: account not found"}(tested)Service account: the client_emaildoes not exist or belongs to another project.Copy client_emailfrom the JSON key file again, or create a new key.400 - {"error":"invalid_grant","error_description":"Not a valid email or user ID."}(tested)Service account with Impersonate a User on, and the impersonated email is not a user Google knows. Use a real Google Workspace mailbox in your own domain. Personal @gmail.com accounts cannot be impersonated. secretOrPrivateKey must be an asymmetric key when using RS256(tested)The Private Key field does not hold a valid key. Paste the full private_keyvalue, BEGIN and END lines included.Invalid email address(tested)The To field is not an email address (often an expression that resolved to a name or an empty value). Check the resolved value in the input panel; separate several addresses with commas. unauthorized_client: Client is unauthorized to retrieve access tokens using this method(not tested, Google docs)Domain-wide delegation is not set up for the service account, or the Gmail scope is missing. In Google Workspace Admin, add the service account client ID with the Gmail scopes. Precondition check failed/ 400 (not tested, Google docs)Service account calling Gmail without impersonating a user. Turn on Impersonate a User and enter a Workspace mailbox. invalid_grant: Token has been expired or revoked(not tested, Google docs)OAuth app left in Testing mode: refresh tokens expire after 7 days, or you changed your Google password. Publish the OAuth consent screen to Production, then reconnect. Gmail API has not been used in project ... or it is disabled(not tested, Google docs)The Gmail API is not enabled in the Cloud project of the credential. Enable Gmail API in that project, wait a minute, retry. OAuth2: "Unable to sign without access token" and "Client authentication failed"
A Gmail OAuth2 credential that was saved but never connected gave
Unable to sign without access token: open it and click Sign in with Google. When n8n holds a token Google does not accept, it tries to refresh it with your Client ID and Secret. With a wrong client, both Send and Get Many failed withClient authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method).That message is about the Client ID and Secret, not your Gmail password. If sign-in itself fails withredirect_uri_mismatch, see n8n OAuth2 redirect_uri_mismatch.Service account: account not found, user ID and private key errors
Unlike the Google Sheets node, the Gmail node shows Google's real message directly: an unknown service account gave
400 - {"error":"invalid_grant","error_description":"Invalid grant: account not found"}, the same text the credential Test shows. With Impersonate a User on and an address that is not a real Workspace user, Google answeredNot a valid email or user ID.A broken Private Key field gavesecretOrPrivateKey must be an asymmetric key when using RS256. A service account can only send as a user in a Google Workspace domain where an admin enabled domain-wide delegation; for a personal @gmail.com address use OAuth2 instead."Invalid email address" before anything is sent
With
not-an-emailin the To field, the node stopped withInvalid email addressbefore calling Google at all. This usually comes from an expression that resolved to a name, an empty string, or an array. Open the input panel, look at the resolved value, and join several addresses with commas.
All test results
Real runs on n8n 2.43.7 in Docker, 30 October 2026, Gmail node v2.1, no real Google account.
| Test | Result |
|---|---|
| Service account, valid RSA key, unknown account email: Send | 400 - invalid_grant, Invalid grant: account not found |
| Same, Impersonate a User = user@example.com | 400 - invalid_grant, Not a valid email or user ID. |
| Same, credential Test | Private key validation failed: 400 - invalid_grant, Invalid grant: account not found |
| Private key = "hello": Send | secretOrPrivateKey must be an asymmetric key when using RS256 |
| OAuth2 credential saved, never signed in: Send | Unable to sign without access token |
| OAuth2 with a fake stored token and fake client: Send and Get Many | Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method). |
| To = not-an-email | Invalid email address (no call to Google) |
Checklist
- Personal Gmail: use OAuth2, signed in, consent screen published if tokens die after 7 days.
- OAuth2: Client ID and Secret from the same Cloud OAuth client, Gmail API enabled in that project.
- Service account: only for Google Workspace, with domain-wide delegation and Impersonate a User set to a real mailbox.
- To field resolves to real addresses, comma separated.
Good to know
- Gmail Trigger active but never firing: n8n Gmail Trigger not working.
- Google Calendar node saying
Not a valid Google Calendar IDor failing on OAuth2: n8n Google Calendar node not working. - Sending through SMTP instead of the Gmail node: n8n Send Email SMTP errors.
- Same Google credential errors in Sheets: n8n Google Sheets node not working.
- Google Drive upload and Bad request errors: n8n Google Drive node not working.
- Every error text from our guides: n8n error message index.
What we did not test
A real Google account or Workspace domain, so the delegation, precondition, expired-token and API-disabled rows come from Google's documentation, not from our runs. We also did not test the Gmail Trigger node or n8n Cloud's managed Google sign-in.
Start from a working agent
FAQ
What does "Client authentication failed" mean in the n8n Gmail node?
n8n tried to refresh the OAuth2 token and Google rejected the Client ID or Client Secret. Copy both again from the same Google Cloud OAuth client and reconnect.
Why does the n8n Gmail node say "Unable to sign without access token"?
The Gmail OAuth2 credential was saved but never connected. Open it and click Sign in with Google.
Can I use a Google service account with the n8n Gmail node for a personal Gmail address?
No. Service accounts can only act for users in a Google Workspace domain with domain-wide delegation. Use OAuth2 for @gmail.com.
What does "Not a valid email or user ID" mean in n8n Gmail?
The Impersonate a User email is not a user Google knows in your Workspace domain. Use a real mailbox in that domain.
Why does the n8n Gmail node say "Invalid email address"?
The To, CC or BCC value is not an email address, often an expression that resolved to a name or nothing. The node checks this before calling Google.
Related guides
- n8n Google Sheets node not working: Bad request, invalid_grant, private key fixes
- n8n Google Calendar node not working: "Not a valid Google Calendar ID", OAuth2 fixes
- n8n Google Drive node not working: Bad request, binary file not found, OAuth2 fixes
- n8n Gmail Trigger not working: not firing, silent errors and fixes
- n8n forgot password or locked out: reset the owner account, tested
New guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes