Hi everyone,
i want to use activepieces to label emails for me, but the Gmail piece does not seem to have sufficient permissions to do this via custom API call. Is there a known workaround for this? Maybe i just missed something. According to the API Docs we need either https://mail.google.com/ or https://www.googleapis.com/auth/gmail.modify to be in scope to hit the correct endpoint (https://gmail.googleapis.com/gmail/v1/users/{userId}/messages/{id}/modify)
I don’t think we have this scope approved by Google, and it might not be straightforward for us to add. One workaround, though a bit annoying, is to click on “Connect with your own credentials” and create your own client ID and client secret. This way, you don’t need approval from Google since you are using it for yourself, making it a faster solution.