we needed password reset emails set up so that when users forget their passwords they can regain access to their accounts
there was a lot of code already written, but it wasn't quite wired together correctly from what I could tell. I replaced the old nodemailer code with sendgrid, mainly because it has built in heroku integration 👌
What I did
install sendgrid and replace the nodemailer logic in the passwordReset model with sendgrid
got a template ID from @kate-rose's sendgrid dashboard to use in the sendgrid message object
resolves #271
Motivation and context
we needed password reset emails set up so that when users forget their passwords they can regain access to their accounts
there was a lot of code already written, but it wasn't quite wired together correctly from what I could tell. I replaced the old nodemailer code with sendgrid, mainly because it has built in heroku integration 👌
What I did