Move more settings into the env.php file

moving smtp port and encryption type into the env.php file.