added the correct url to generate the email