if tls fails and wasn't stricly required, downgrade to smtp
Merge branch 'master' into portable