adds mailer view and controller