Add use_tls flag to enable secure connection for email.