SSF-188 Automated Order Lifecycle Emails#162
Open
Juwang110 wants to merge 35 commits into
Open
Conversation
sam-schu
requested changes
Apr 28, 2026
Collaborator
sam-schu
left a comment
There was a problem hiding this comment.
For sending the emails:
- For consistency with our other emails, can we send the emails outside of the transaction, so the order is still created even if an email fails to send? (We do plan to add better handling for failed emails across the board)
- Can we try sending both emails, even if one fails?
sam-schu
requested changes
May 2, 2026
Collaborator
sam-schu
left a comment
There was a problem hiding this comment.
Confirmed the emails are properly sent! A few comments on the contents:
- Can we link the text "log into the platform" rather than including the link at the end of the email?
- Can we turn the coordinator email into a link?
- For the manufacturer email, can we make sure the different address lines appear on different lines in the email body, and add a comma between city and state?
814 Cedar Hollow Way
[Unit 1]
Madison, WI 53711
[US]
dburkhart07
requested changes
May 5, 2026
sam-schu
requested changes
May 7, 2026
dburkhart07
requested changes
May 8, 2026
dburkhart07
left a comment
There was a problem hiding this comment.
sorry this is so many comments lol. should hopefully be good after this <3
Yurika-Kan
reviewed
May 13, 2026
dburkhart07
requested changes
May 16, 2026
sam-schu
requested changes
May 25, 2026
dburkhart07
requested changes
May 28, 2026
dburkhart07
left a comment
There was a problem hiding this comment.
Couple last things.
IMPORTANT: Wait for Yurika's clarification before making some changes to updateRequestStatus
sam-schu
approved these changes
Jun 2, 2026
dburkhart07
approved these changes
Jun 3, 2026
dburkhart07
left a comment
There was a problem hiding this comment.
lgtm!! thanks for working so hard on this one!!!
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.
ℹ️ Issue
Closes https://vidushimisra.atlassian.net/jira/software/projects/SSF/boards/1?jql=assignee%20%3D%20712020%3A10ef9ad9-e290-4bbd-8c4b-cb215e8d449a&selectedIssue=SSF-188
📝 Description
Email templates for:
✔️ Verification
BEFORE TESTING: Add 2 new environment variables:
AWS_SES_SENDER_EMAIL (set this to one of your emails, this will be the address that sends the emails for you to verify)
SEND_AUTOMATED_EMAILS (switch this to true to turn on Cognito account creation and email sending permissions)
Add your email that you put in the AWS_SES_SENDER_EMAIL into the following AWS SES Identities: https://us-east-2.console.aws.amazon.com/ses/home?region=us-east-2#/identities
Tested each workflow to ensure the proper sender, subject, message, attachments were all there.
Same testing as #127
I verified it worked via new tests and testing email functionality with postman.
🏕️ (Optional) Future Work / Notes
For food request closed the functionality is as follows (per Yurika):
For manual close (closeRequest endpoint):
For auto close (updateRequestStatus):