This is a proof of concept for a client.
The client would like to receive a notification via email when a returning web visitor visits any page within their website. The assumption is that a cookie will need to be set and read. Additionally the cookie and URL parameters may need to be saved externally.
Customer would like to get an email notification that includes the last page visited by a returning visitor.
There is no access to server side elements such as Node.Js. The solution must be functional within JavaScript and HTML and should not expose the credentials.