Separated server login from send_message method. Therefore you can login
and use the same server connection to send multiple emails