I have built a email template in MailChimp using their template builder.
I want to send this email to individuals on certain events. For example, if someone forgets their password, I want to send them the 'Forgot Password' template I created in MailChimp.
I've looked at MailChimp's API, but it doesn't seem too friendly to non-bulk email sending. How would I send transactional emails like this, using an HTML template created from MailChimp but using SendGrid for SMTP?
The code would look something like this:
if action == 'forgot_password':
email = mailchimp.get_template(forgot_password)
sendgrid.send_mail(user, subject, email, from)