updating the email template and the urls.py and views.py to send email