email notifications & query strings with authentication

Lint/UnusedBlockArgument: Unused block argument - `n`. You can omit the argument if you don't care about it.