moved error check for smtp user and pass to init