google-scripts
google-scripts copied to clipboard
Updated the Gmail no response script to allow for "skip labels"
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.