Creates/maintains Gmail labels based on GitHub notification metadata.
Adds messages to folders based on the reason for the notification. It will create/manage labels for:
- Author of the Issue/Pull Request
- Direct
@mentions
- Team
@mentions
- Watched repositories
- Meta notifications (added to team, SSH key added, etc...)
Archives the messages after applying the labels. Disabled by default. Enable by setting SHOULD_ARCHIVE
to true
.
Finds muted Gmail threads from GitHub conversations and unsubscribes from the GitHub conversation. It then unmutes the Gmail Thread. The result is that GitHub's logic of re-subscribing on new @mentions is retained while taking advantage of Gmail's interface for muting conversations.
OctoGAS can be installed to your Google account from the OctoGAS website. This requires you to authorize OctoGAS to manage your Gmail messages. Installing the labler also requires you to authorize OctoGAS to access your GitHub account, so it knows which teams you are on.
You can also manually install OctoGAS by following the instructions in the Hacking section.
Make your own copy of the Google Apps Script project by going here and selecting "File > Make Copy..." in the menu bar.
You can build the source by running script/compile
. The generated output in labler.gs
and muter.gs
can be coppied directly into a Google Apps Script.