I am having an issue with my Gmail trigger. There is a main account that has the shared inbox - all the emails that are sent to this address manage to trigger the automation but it is failing to activate for additional emails. I’ve tried debugging but came to a bit of a dead end. Any help is appreciated!
@MartinNoboa The most probable cause is the type of Google credential you’re using for the trigger node. If you’re using a standard OAuth2 credential tied to a specific user, it typically only has access to that user’s primary mailbox.
The official n8n documentation confirms that many Gmail node errors stem from credential issues.
two ways to solve your shared inbox problem you can try:
Use Dedicated Service Account Credentials
Use an IMAP Mail Trigger as an Alternative
Try this method and let me know @MartinNoboa how it goes.
Hi @Baseman ! Thanks for your response - I had a feeling the credentials would be the issue but thank you for confirming. I’ve set up the Service credentials - just need to wait for one of the edge cases to trigger the automation and I’ll come back to mark it as the solution.