I want to read emails of a @gmail.com
email account. I've gone through the guides and code samples and I keep getting the Client is unauthorized to retrieve access tokens using this method
error message. I can access the data using the OAuth2 3 legged method.
I also have a G-Suite admin and G-Suite organisation domain and emails. With these emails, the code works and I can retrieve the emails.
So, why can't I make it run for my personal gmail account (Non G-Suite)? Do I have to somehow authorize this service account in my gmail account? I haven't seen anything about it.
Please advise!
Thanks.