Added logic to send report when "reported" field is false in addition to SUCCESS/FAILURE status.
Maintenance 1: Added logic to send email to local SMTP server.
Maintenance3: MessageID header added.
Maintenance3: MessageID header added and changes from George merged.