added ug/pg switch to email link
Merge pull request #654 from unikent/bugs/email-link

added ug/pg switch to email link