Possible to pass credentials to Gmail without user being on team?

Hello everyone,

Currently I use Zapier and have for many years but I have been running into a problem that is making me investigate other solutions.

Basically, I need to be able to authenticate into a Gmail account of a user without having to invite them to my account team. Is this possible with n8n? Can I send a link to a user to authenticate with OAuth on Google, or do I absolutely have to have them be part of my n8n team?

For example, I want to be able to send emails from Amy from accounting’s email address automatically. With Zapier, the only way I could achieve this is inviting Amy to Zapier and instructing her to connect then share her email account with the entire team. This gets very problematic as (1) non-technical users are confused, (2) this is very complicated, (3) Zapier has limits on number of users per team.

Ideally, I would like to be able to send a link to Amy so that she can authenticate her Gmail account in such a way that I can use it for automations.

I am looking at the cloud hosted version.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Cheburashka,

Welcome to the community :tada:

We don’t have an inbuilt feature for that so the user would need to have access to n8n itself to authenticate but I have heard that some users have managed to use tools like Nango to manage the credential then use the API to add the credential to n8n. Sadly though I don’t have a guide on how to do this.

Another option could be to use a service account and use the impersonation option.