Send emails from a user's own Gmail account

'm building an automation in n8n where I want to:

  1. Send emails from a user’s own Gmail account, not my own — using OAuth2 authentication so users can securely authorize access.
  2. Use custom Google Cloud OAuth credentials (Client ID & Secret) instead of n8n’s default “Sign in with Google” option.
    I’m trying to confirm:
  • Is it possible to use custom Gmail OAuth credentials in n8n?
  • Can this be done in n8n Cloud, or only in self-hosted / Enterprise?