Notification e-mails don't work properly