Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rake task to bulk unsubscribe active subscribers from a subscription list #2313

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

deborahchua
Copy link
Contributor

@deborahchua deborahchua commented Jan 23, 2025

When organisations close/merge, we want to be able to unsubscribe all active subscribers from the organisation's subscription list. This rake task makes it easier to do this in bulk rather than individually using the support:unsubscribe_single_subscription] rake task.

This has been tested on Integration.

Sample output:

Unsubscribing [email protected] from central-digital-and-data-office
Unsubscribing [email protected] from central-digital-and-data-office
Subscriber [email protected] already unsubscribed from central-digital-and-data-office

Trello card: https://trello.com/c/jU0FVxFn/443-bulk-emailing-email-subscribers-of-closing-organisations

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

When organisations close/merge, we want to be able to unsubscribe
all active subscribers from the organisation's subscription list.
This rake task makes it easier to do this in bulk rather than
individually using the `support:unsubscribe_single_subscription]`
rake task.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant