The service account needs to be authorized or it cant access the emails for the domain.
“Client is unauthorized to retrieve access tokens using this method”
Means that you have not authorized it properly check Delegating domain-wide authority to the service account
More Related Contents:
- How Google API V 3.0 .Net library and Google OAuth2 Handling refresh token
- How to programmatically remove a file from “share with me” in Google drive
- Smtp authentification required [duplicate]
- Sending email in .NET through Gmail
- Sending email through Gmail SMTP server with C#
- Gmail Error :The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required
- change sender address when sending mail through gmail in c#
- C# SmtpClient class not able to send email using gmail
- SmtpClient with Gmail
- Can’t auth to Gmail smtp via MailMessage & smtpClient
- Accessing Google Spreadsheets with C# using Google Data API
- GMail SMTP via C# .Net errors on all ports
- Reading emails from Gmail in C#
- Can we access GMAIL API using Service Account?
- Adding an attachment to email using C#
- GoogleWebAuthorizationBroker.AuthorizeAsync Hangs
- Google Weather API 403 Error [duplicate]
- Use Google Analytics API to show information in C#
- Validate Google Id Token
- SmtpClient: A connection attempt failed because the connected party did not properly respond after a period of time
- Google+ API: How can I use RefreshTokens to avoid requesting access every time my app launches?
- Google.GData.Client.GDataRequestException – Authentication suddenly fails in old code
- How to create a instance of UserCredential if I already have the value of Access Token?
- How to send an e-mail with C# through Gmail
- The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security [duplicate]
- Get property of generic class
- Do I need to Dispose a SemaphoreSlim?
- How to remove additional padding from a WPF TextBlock?
- Use of ArgumentNullException when accessing arguments’ properties
- How do I get a C# WebBrowser control to show jpeg files (raw)?