Allow users to turn off SMTP encryption.

Fixes #495