Enabled SMTP TLS and authentication options

Related: https://github.com/google/grr/issues/32
The ehlo isn't really called, you are missing (). I think the best way to do this (according to the internet) should be:
s.ehlo()
if starttls:
  s.starttls()
  s.ehlo()
...