correct tsl to tls for sendEmail
Merge branch 'master' into dev