reworked mailer, fixed bug where users can access other users notifications