email notifications & query strings with authentication

Style/EmptyLinesAroundBody: Extra empty line detected at body beginning.