Move the SMTP server setting into the send_email and quit once the email has been sent
Move the SMTP server setting into the send_email and quit once the email has been sent

Add debugging statement at the end
jeremycline/fmn,jeremycline/fmn,jeremycline/fmn