Added conditional use of IEmailDispatcher depending on configuration.