I’m building a SaaS app where each user connects their Gmail account so we can read, label, and respond to emails automatically. I want to connect these Gmail accounts to n8n workflows behind the scenes.
Right now, I see two options but I’m stuck:
Using OAuth2 per user: But this would mean manually saving and injecting each user’s tokens into n8n, which seems complex.
Using a Google Service Account: But service accounts can’t access regular Gmail inboxes unless domain-wide delegation is set, which isn’t practical for public SaaS.
Any help or architectural advice from those who’ve solved multi-user Gmail integrations would be greatly appreciated!
Thanks ![]()