- For: section leaders and group admins
- You get: a sheet of the addresses that bounced or marked an email as spam, refreshed each week
- Time: about five minutes
- Scopes:
communications:readandcommunications.people:read
1. Add the script
In your Google Sheet, choose Extensions → Apps Script. Delete what is there, paste the script below and choose Save.Code.gs
2. Add your key
In the script editor, choose Project Settings (the cog), then Script Properties → Add script property. Property:SCOUTWORKS_API_KEY. Value: the sandbox key to try it, or your own key. Choose Save script properties.
3. Run it, then refresh it every week
Choose blockedAddresses in the toolbar and press Run. Open the Not emailed tab. To refresh it every Monday, choose Triggers (the clock), then Add Trigger. Function:blockedAddresses. Event source: Time-driven. Type: Week timer. Day: Every Monday. Choose Save.
4. Switch to your group
Changeapi-demo.scoutworks.app to api.scoutworks.app, and replace the sandbox key with your own. Your key needs communications:read and communications.people:read. The second scope is the one that opens this list, because every entry is a person’s address.
What each reason means
The list is for fixing records, not for sending. Scoutworks already leaves these addresses out of every email, so you never need to remove them from a send yourself.