email notifications & query strings with authentication

Metrics/LineLength: Line is too long. [99/80]