Trying to modify a label.
My code:
service.Users.Messages.Modify(mods, userId, messageId).Execute();
Error message:
The service gmail has thrown an exception: Google.GoogleApiException: Google.Apis.Requests.RequestError Insufficient Permission [403] Errors [ Message[Insufficient Permission] Location[ - ] Reason[insufficientPermissions] Domain[global] ]
at Google.Apis.Requests.ClientServiceRequest
1.Execute() in C:\Apiary\v1.25\Src\Support\GoogleApis\Apis\Requests\ClientServiceRequest.cs:line 101 at CreditRecon.DownloadAttachment.ModifyMessage(GmailService service, String userId, String messageId, List1