HI,
i had a similar problem. I needed an confimation email, in that email
i supplied a link for confirmation,
after that the user should be logged in. So its similar of your
problem.
First u need the following:
A unique link, like an email_token, md5 hash of an email and a
timestamp in example.
How can you construct a link from an email that automatically logs the
user in to a cake site and links to the right action?
I'm sending update emails to users, and if they want to do anything
with their account, I want them to be able to access the relevant page
directly with one click on a link