Skip to content

Send a new email to users with manage settings when a service goes live - #4953

Open
klssmith wants to merge 3 commits into
mainfrom
send-new-go-live-email
Open

Send a new email to users with manage settings when a service goes live#4953
klssmith wants to merge 3 commits into
mainfrom
send-new-go-live-email

Conversation

@klssmith

@klssmith klssmith commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

We currently send an email to all team members of a service when the service is made live. We we now want to send two emails - one to all team members, and one to team members with the manage settings permission.

The new template, for users with the manage settings permission, has already been created in all environments.

The existing template that is currently sent to all users will have its content modified to remove the content about out of hours emergencies and admin user responsibilities. We will deploy this change, then immediately change the content of the current email. It won't be an issue if people receive the existing email with its current content before we've had a chance to change it - they will just see a tiny bit of duplication of content in both emails they receive.

Trello card

We had an existing function for getting users for a service, but are
going to have emails that get sent specifically to users with the manage
settings permission for a service.
This function retrieved the active users for a service, but we will want
to use it to send to two different groups of users. This changes the
function so that it takes a user list as an argument.

As well as fixing the tests which needed adjusting due to the change,
this also simplifies a few tests by updating them so they make use of the
`admin_request` fixture.
In addition to the existing email, which gets sent to all team members,
we want to send a second email to team members who have the manage
settings permission for the service.
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