Develop

Added html template to mail class,settings work with config.