Stop attempting to post emails to Mailchimp that are being rejected (#1050)#1078
Open
markstos wants to merge 1 commit into
Open
Stop attempting to post emails to Mailchimp that are being rejected (#1050)#1078markstos wants to merge 1 commit into
markstos wants to merge 1 commit into
Conversation
…1050) Attempting to post emails to Mailchimp that they reject was causing an infinite loop of exceptions being posted to Sentry as we retried every hour. To address this, we start tracking which emails Mailchimp rejects and when. For now, we use this to stop posting emails to Mailchimp that are being rejected. Later, this may be a useful signal that the account has a history of being associated with spam. In that case, we might want to use the ginal for later spam preventation or fraud prevention efforts.
d8db2b5 to
19f486f
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Attempting to post email to Mailchimp that Mailchimp rejects was causing an infinite loop
of exceptions being posted to Sentry as we retried every hour.
To address this, we start tracking which emails Mailchimp rejects and when.
For now, we use this to stop posting emails to Mailchimp that are being rejected.
Later, this may be a useful signal that the account has a history of being
associated with spam. In that case, we might want to use the ginal for
later spam preventation or fraud prevention efforts.
Applicable Issues
Closes https://github.com/thunderbird/thunderbird-accounts/blob/main/src/thunderbird_accounts/subscription/tasks.py
QA Log