added smtp_user and smtp_password support