changed user, email, port and host into var in class SendEmail