Add support for StartTLS and allow modification of SMTP server port