Email and Recent Searches changes

Emailing now includes the userid of the user that sends it, so that users can be limited to X emails a day.
Recent searches now correctly creates the links for display on the page