Switched to use EmailMessage instead of send_mail