Make SMTP connection configurable

The SMTP configuraiton is currently hardcoded, it should be configurable
to add more flexibility.

Added options for authentication, TLS, and STARTTLS support. The default
configuration will try to use localhost and port 25 to send the email.

Change-Id: I262d1aba1f400d3bf286fff0d3c32c50a7a402e3
1 file changed