Closed dct0 closed 7 months ago
Branch issue-152-Send_email_on_successful_repair_request created!
Initial thoughts:
/api/repair-request
. It's missing error handling and error states currently, which can be added in this workWhat have done:
Todo:
Email sent successfully.
Todo:
Template Email sent successfully.
Todo:
Mock Email:
Real Email:
Completed in #193
Basic Information
Send confirmation email to client when a repair request is created. The template is already created in
src/email/emails
.Additionally, to avoid spam during testing, make this feature togglable. Consider adding a metadata attribute to the clerk user like
disableEmailConfirmations
or add some environment variableOther Information
We are using AWS SES to send emails with React Email. Let me know if you have any issues with the access key.