updated sendmail function to incorporate jinja templates and drafted initial confirmation email
updated sendmail function to incorporate jinja templates and drafted initial confirmation email