adding in the threshold and emailer
Revert "removed lots of unnecessary javascript files."

This reverts commit 3bcbeb33994086a7f2b3ba7cc3fe546bebb1618a.
test query working with exceptions
getting close to having emailing with the configurations working
exception should be a bit smaller to fit more on a page
escape the first line to use in the link