email notifications & query strings with authentication

unexpected token tCOMMA