Added edit link and test to email