[stats] Added ability to send email on page visit

[stats] Added ability to send email on page visit