updated app_event, added mailer