refactoring, ssl property added, concurrent mail sending