add use_tls option for mailer in settings