Abstracted out Emailer in order to pick up settings from config file.