Add Resend List Emails API with POST endpoint for recipient-based status lookup#188
Merged
gregv merged 2 commits intofeature/resend-list-emails-apifrom Mar 6, 2026
Merged
Conversation
5 tasks
… URL length limits Co-authored-by: gregv <6913307+gregv@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Resend List Emails API for recipient-based status lookup
Add Resend List Emails API with POST endpoint for recipient-based status lookup
Mar 6, 2026
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.
Adds a recipient-indexed Resend email status lookup API, replacing the
resend_id-dependent approach so delivery status works for all historical emails. Theresend-listendpoint is exposed asPOST(notGET) to avoid 414/400 URL length failures with large volunteer lists.What does the PR do?
Backend (
services/volunteers_service.py)list_all_resend_emails()— fetches Resend List Emails API (paginated, up to 10 pages), builds a recipient-keyed index, caches in Redis atresend:all_emails_index(300s TTL)send_volunteer_message()andsend_email_to_address()succeedAPI (
api/volunteers/volunteers_views.py)POST /api/admin/emails/resend-list— auth-protected endpoint; accepts{ "emails": ["a@b.com", ...] }JSON bodyemailsfield supports both array and comma-separated stringGET+ query string toPOST+ JSON body to handle large volunteer lists without hitting URL length limitsType of change
Linked Issue
Make sure you have
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.