Created
November 1, 2024 10:18
-
-
Save danielcranney/1157e4ed053f5d9a52208675cde7e2af to your computer and use it in GitHub Desktop.
newsletter unsubscription tracker / 02 - fetch unsubscribed label from gmail.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Logs emails from threads labeled "unsubscribed" to a Google Sheet | |
function logUnsubscribes() { | |
var label = GmailApp.getUserLabelByName('unsubscribed'); // Fetch the "unsubscribed" label from Gmail | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment