ERROR: Gmail error response [403]: Insufficient Permission

Hi
Service account works in Drive and Sheets, but does not work with Gmail. What could be the problem?

Hey @Roket!

Gmail doesn’t allow you to use the Service Account authentication method directly. If you’re using it in a Google workspace you will have to enable Domain wide delegation and set the Impersonate User to true in n8n. Otherwise, use the OAuth2 authentication method.

1 Like

Thank you for the clarification.