reworked Session API to use Properties variable type to define how we are connecting to mail server.