Update email domain, variable location, Readme

Add ability to override hostname lookup for email domain, move some variables to config file and update readme.