added functionality to email link in resource page