add support of unsecured smtp server and make authentication optional