add smtpServer and smtpThread