Gmail: Labels
planned
A
Arnab Chakraborty
- Create a Label
- Update a Label
- List Labels
- Delete a Label
- etc.
Didier: I have linked a Trello card with an email and I was hoping to copy the label registered in Trello into the gmail-email. Is it possible ? The "add-label" module does not seem to allow to enter a condition or an expression .
------------------------------------------
BESTPRACTICE:
- Recall if you had to follow this guide to create a custom OAuth client to be able to use the Gmail app: https://www.integromat.com/en/help/connecting-integromat-to-google-services-using-a-custom-oauth-client
- If yes, then seek back to step 12 and add the following Authorized redirect URI: https://www.integromat.com/oauth/cb/oauth2 If not, then follow the whole guide with this modification.
- Then jump directly to step 12 in this guide: https://www.integromat.com/en/help/calling-google-apis-via-the-http-make-a-oauth-2-0-request-module
- After finishing it, you will be able to call an arbitrary Gmail API method via the HTTP > Make an OAuth 2.0 request module, e.g. users.labels.create to create a label: https://developers.google.com/gmail/api/reference/rest/v1/users.labels/create
Log In
Tereza Klobouckova
planned
Bryan Bennett
Thank you so much for resurfacing these and considering them. The Gmail limitations have forced me to keep relying on Zapier for a number of automations. I'm very glad to see several gmail requests being considered.
Msquare
Bryan Bennett: We have built a Gmail Advanced App which includes Create/Update/List/Delete labels, Search emails, Make an API Call module etc
🔗 Get started with the "Gmail Advanced App" today: https://www.msquare.pro/msquare-gmail-custom-app
Tereza Klobouckova
Hello everybody, I am posting a workaround that you may use in order to work with Gmail endpoint "Create a Label" that we don't have yet.
- Recall if you had to follow this guide to create a custom OAuth client to be able to use the Gmail app: https://www.integromat.com/en/help/connecting-integromat-to-google-services-using-a-custom-oauth-client
- If yes, then seek back to step 12 and add the following Authorized redirect URI: https://www.integromat.com/oauth/cb/oauth2 If not, then follow the whole guide with this modification.
- Then jump directly to step 12 in this guide: https://www.integromat.com/en/help/calling-google-apis-via-the-http-make-a-oauth-2-0-request-module
- After finishing it, you will be able to call an arbitrary Gmail API method via the HTTP > Make an OAuth 2.0 request module, e.g. users.labels.create to create a label: https://developers.google.com/gmail/api/reference/rest/v1/users.labels/create
Ian McCall
Tereza Klobouckova: Thank you Tereza, it was a bit of a process but I've got this working!
Ian McCall
What is happening with this, please? In September it was trumpeted as "done", then when I pointed out that it wasn't functional in any sense of the original request, an apology was posted. It wasn't however moved back to "planned" or "in progress". Instead of continuing to churn out new integrations (which often, in my experience, don't work or barely work), because it looks good and "ticks boxes" could the Integromat dev team address outstanding issues with a fair few votes on extremely popular software such as GMail? I realise this isn't perhaps as "sexy" or gratifying as announcing a new integration but I'm sure it would be appreciated by long-time users of the software, like myself.
Tereza Klobouckova
Ian McCall: Hello Ian, I just posted a workaround above. I hope that this workaround will work for you.
Msquare
Ian McCall: We have built a Gmail Advanced App which includes Create/Update/List/Delete labels, Search emails, Make an API Call module etc
🔗 Get started with the "Gmail Advanced App" today: https://www.msquare.pro/msquare-gmail-custom-app
Ian McCall
This hasn't solved anything for me. I expected to be able to add new labels, that doesn't seem to have been catered for. Also mapping the label isn't by name it's by the label id, so how do I obtain that programmatically? Unless the label is 'fixed' (as opposed to being 'dynamic') the new module is useless.
My use case is this:
- New job created - build into existing Integromat scenario 'new job' an extra step to create new GMail label using the job number.
- When creating job emails add an extra step to the Integromat scenario to add the label, preferably by mapping the label name but if it has to be by label id then at least provide an action to obtain the label id!
Please reclassify to 'In Progress' until the module is properly completed
Tereza Klobouckova
Ian McCall: Hello Ian, please check, that your Gmail account has at least one label created. Module "Gmail > Modify email labels" does list your labels automatically, see my screenshot below.
Ian McCall
Tereza Klobouckova: Hi Tereza, my GMail has dozens of labels, which I can see in Integromat. Please read my use case, it seems I cannot map the label dynamically as the module uses the label id not the label name and there's no way to get that programmatically. Also if the label doesn't already exist there seems no way to add a new one?
Tereza Klobouckova
Ian McCall: Hello Ian, I marked this request as OPEN. Accept my apologies for misunderstanding your request.
Tereza Klobouckova
Hello everybody, we implemented "Gmail > Modify email labels" module. Please, check it out.
Cameron Saemann
Would love to see UPDATE supported here so existing Labels can be modified.
Msquare
Cameron Saemann: We have built a Gmail Advanced App which includes Create/Update/List/Delete labels, Search emails, Make an API Call module etc
🔗 Get started with the "Gmail Advanced App" today: https://www.msquare.pro/msquare-gmail-custom-app