email notifications & query strings with authentication

Style/AndOr: Use `&&` instead of `and`.