email notifications & query strings with authentication

Style/AndOr: Use `&&` instead of `and`.<br>Style/Tab: Tab detected.