mailer views bug fixed