Add email smtp authentication

Implementation of smtp AUTH PLAIN login
Change wrong if command line 260