added ug/pg switch to email link

fixes #653