add configuration and mailer