Added headers parameter to send_mail.