I want to create a new label and a new filter in Gmail using Google Apps Script, which will push all new emails to a specific label. I have already created a shortcut that works fine, but I cannot create a filter.
I know that it’s easy to create a new filter in the GMail search criteria. But I want to automate exactly the same function, and then publish it to my team of 100 people, so they don’t need to do it manually.
Any help on this is greatly appreciated.
Thanks a lot Prachi
source
share