Added config for host and smtp