add simple mailer and changed some views