moved optional hapi plugins to config file
adding email component