Add some automation to unsubscribing users that send spam complaints
Add some automation to unsubscribing users that send spam complaints
AWS SES (Simple email service) forwards spam complaints to our Zendesk instance. We ingest these tickets in this new utility script and unsubscribe any users associated with the email.
This script will:
- Fetch all tickets sent from AWS
- Process the
.eml
attachment to find who(which email) sent the complaint - Unsubscribe any Gitter users associated with that email
- Add a comment to the ticket with what actions took place.
- If we were able to unsubscribe someone, will solve the ticket
- If any error took place while processing that specific ticket, will also put that on the ticket
Dev notes
See #2322 (closed) where dealt with automating Zendesk tickets before.
Todo
-
Add zendesk secrets to prod
Edited by Eric Eastwood