Mailer should be specified in configuration file so it can be replaced at any time.