google-scripts icon indicating copy to clipboard operation
google-scripts copied to clipboard

Updated the Gmail no response script to allow for "skip labels"

Open benjaminjackson opened this issue 6 years ago • 1 comments

benjaminjackson avatar Jun 08 '18 00:06 benjaminjackson

Thanks for submitting, it looks like this works.

One suggestion: would you be interested in changing threadHasLabel to be threadHasLabels, a function that accepts one or more labels. The most expensive operation in Google scripts are network calls, so the less we can call thread.getLabels(), the more resilient this would be.

No biggie if you don't want to do it, but it'd be a nice optimization.

hijonathan avatar Jun 08 '18 13:06 hijonathan