trying to fix editLink in email