added mailer to all pages