email notifications & query strings with authentication

Lint/UnusedBlockArgument: Unused block argument - `n`. You can omit the argument if you don't care about it.<br>Style/IndentationWidth: Use 2 (not 1) spaces for indentation.<br>Style/Tab: Tab detected.