email notifications & query strings with authentication

Metrics/LineLength: Line is too long. [98/80]<br>Style/AlignHash: Align the elements of a hash literal if they span more than one line.<br>Style/Tab: Tab detected.