Added SMTP Authentification

Added the ability to use authentication credentials to log in into an smtp server.