fixed mailer, changed index views