Define a url for an email confirmation from within a plugin

Insert in your functions.php file the following code

function order_confirm_token()
{
    if(isset($_GET['myconfirmation']))
    {
        $confirmation_token = $_GET['myconfirmation'];

        // Do something with token
    }
}
add_action('init', 'order_confirm_token');

Then when you send the user the email to confirm the email direct them to the home page like this:

www.example.com/?myconfirmation=TOKENCODE