How can a user recover a mistyped email account?

I have a website where users login with their email address and password.

They also can update their account details like first and last name, location and email address. If they make a typo while updating their email, what's the best way to let them recover their account?