This looks like a
XY Problem.
What exactly do you want to achieve and what data/information do you have available?
My assumption would be that you have an old URL in your mails and don't remember your password. Now you want to try to login with this token sent via email. Is this assumption correct?
Because if it is, i don't think this will work. Such tokens embedded into those URLs you get via mail are not valid forever.
What actually happens if you click on "forgot password" or whatever to get the token, is that the server generates that token, stores it in its database associated to your account and sends you the URL.
After a given time (or after it has been used the first time), the server invalidates the token.
You should never be able to use a token from years ago.
So, what actually is the problem you are facing? And what kind of data/information do you have available which might help to solve it?
You are way better off just describing your problem instead of asking such specific questions whose answer probably won't help you at all.