Stop all email subscription sending
In an emergency, the following steps will immediately stop all emails being sent by the GOV.UK email subscription system.
Warning This is an emergency stopgap solution that should be reverted as soon as possible. All emails (including urgent ones such as travel alerts) will not be sent while this is active.
Note Emails already sent to GOV.UK Notify for delivery cannot be stopped by this method.
- Ensure your fabric scripts are set up.
fab $environment class:email_alert_api puppet.disable:"Disabling email subscriptions"to disable puppet (otherwise the next step will be undone the next time puppet runs).
fab $environment class:email_alert_api app.stop:email-alert-api-procfile-workerto stop the email-alert-api Sidekiq workers.