Allow the from address to be set in the configuration
Allow templates to be specified in the configuration