email notifications & query strings with authentication

Style/EmptyLines: Extra blank line detected.