Add Email class for sending email
Ref: #81 (closed)
We also add a BODY_TEMPLATE
template via the erb
library so we have have a template for the email body that we can interpolate values into.
This BODY_TEMPLATE
is an initial attempt to create an email template of the form outlined in the spreadsheet of notifications: https://docs.google.com/spreadsheets/d/16FgFvRlV0Aet7VIGlN8c9ktHDbBwSslDrpZ-ouARVRw/edit?gid=1375475650#gid=1375475650
NOTE: To actually send email in a production context we will need:
- #83 (closed)
- we'll need to drop the Alpine version to 3.19 since the ucsd email server can't use a modern version of openssl :(
Edited by Matt Critchlow