Added headers to send_mail and send_html_mail