changed mail server properties to read from properties file