added mailer and views change env and root route