Does the Gmail API support using OAuth Service Accounts?
问题 I am trying to use the Gmail API with the Python Google Client library. I have created a Service Account credential through the Google Developer Console. I am then attempting to use those credentials like sO: from oauth2client.client import SignedJwtAssertionCredentials client_email = '<sanitised>@developer.gserviceaccount.com' with open("foobar-<sanitised>.p12") as f: private_key = f.read() credentials = SignedJwtAssertionCredentials(client_email, private_key, 'https://www.googleapis.com