Add newsletter recipient selection to email editor - #184
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
admin-site | 18fc61c | Commit Preview URL Branch Preview URL |
Sep 10 2026, 12:02 AM |
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.
The email editor can currently send only to the existing attendee-based registration audience. Add a Recipient group selector that defaults to
registration_submissionsand lists the newsletter groups from the same API used by the Newsletters page, with unique recipient counts and a refresh action.The default preserves
/mail/send/attendees/: registration submissions matched to attendee profiles, with no year filter. The editor explains this scope. Selecting a newsletter fetches its current subscribers immediately before confirmation, removes duplicate addresses, and sends only those addresses through/mail/send/. Empty, deleted, or unavailable newsletters cannot send and never fall back to registration recipients.Keep the test-send step. After Send to Self succeeds, the bulk-send button names the selected group. The confirmation names the audience and includes the current newsletter recipient count. The message and group remain locked until Edit is selected, which requires another test send. Add text explaining this sequence and label bulk-send results with the selected group.
No backend or deployment configuration changes are required.
Validation:
npm run buildpassed.git diff --checkpassed.