How can one tune the automatic link sent to user for changing his email?

perhaps I couldn’t explain the problem clearly. after the process you explained, an automatic link is sent to the user, and he should confirm that.

this link directs our user to a wrong page, it’s something like:

while it should be like:

I want to know how to correct this automatic link.