Are there any hooks for the event when an user navigates the verification URL? I'm looking for a way to modify an event (from my own module) when an user navigates to the account activation URL that they get in their mails. Are there any such hooks ready for me to use?

Also I would potentially need the $account-&gt; mail variable if it's passed as an argument by any chance.

I've used this but it doesn't work as intended -

function my_module_form_alter(&amp;$form, &amp;$form_state, $form_id)
{
    // Trigger when at password reset form
    if ($form_id == 'user_pass_reset') {}
}


But the problem is I cannot seem to access the $account variable that way. What should I do?
Finally figured it out.

function my_module_lists_form_alter(&amp;$form, &amp;$form_state, $form_id)
{
    // Trigger when at password reset form
    if ($form_id == 'user_pass_reset')
    {
        // If $account has not been defined, define it from $user
        if (empty($account)) 
        {
            // Loads the user using the user id argument
            $account = user_load($form_state['build_info']['args'][0]);
        }

        // Log something
        watchdog('DEBUG MESSAGE:', 'We are there, user : ('.$account-&gt;mail.')!');
    }
}


If anybody has a better method, please do share.