Mail with test
untested email psudocode
Mail function with link creation.
Merge with new doc tests