added mailer loop through page need production mode still