Added email settings under global options to select whether its using smtp or sendmail on the server.