Not able to read mails from “Google Groups” which is a Collaborative Mail box for multiple users.
API is enabled only for managing groups / membership & AppScript also has the access to manage groups / membership using “GroupsApp”.
Need the access for reading emails automatically in “Google Groups” for Automation.
Hey,
Hope you’re keeping well.
Google Groups doesn’t expose its mailbox contents through the Groups API or the GroupsApp service in Apps Script. If the group is a collaborative inbox and messages are delivered to members’ Gmail accounts, you can read them using the Gmail API or GmailApp from Apps Script with the appropriate OAuth scopes. You’ll need a member account or a service account with domain-wide delegation to access the group’s mail via Gmail. Make sure the group’s settings in Google Groups > Settings > Permissions allow “Who can view conversations” for the account or service you’re using.
Thanks and regards,
Taz