added the ability to setup localhost mailserver