GmailAPI with access to only one account (Server to server)

45 Views Asked by At

I want to create ticket in our system when somebody sends email to [email protected]. I'm using GmailAPI to read new messages from that gmail account.

Currently I'm using service account and domain wide delegation (DWD) for authentication.

The problem is that with DWD I can access all user accounts from my organization and this is what I want to avoid.

Is it possible configure service account this way, so that it has access to only one user account? Or can I generate and use private key for single user account instead of service account with DWD?

0

There are 0 best solutions below