Bugfix events controller

check_mail_settings was missing the event parameter!