jq is useful to slice, filter, map and transform structured json data.
brew install jq
/* | |
The intent of this script is for posting filtered Gmail messages to Slack. | |
This script could be used on its own with manually-marked messages, but it | |
is most useful it when combined with a Gmail filter. The script assumes that | |
target messages have had a specific label set on them and have been starred. | |
The Apps Script can then be set to run periodically. | |
2015/02 cmyers, rush | |