Fix bug view and config mailer