title: how to create a single-use link in Drupal 8
body: <p>I have to send several emails (3000) from drupal 8. Each email must have a single-use link that points to the same page. All emails are saved in a custom entity (not the registered users of the site).</p>
  
  <p>When the user clicks on the mail link I have to check that the link has not already been used.</p>
  
  <p>I suppose that in addition to the mail, you have to save a single parameter in the custom entity (token?). And when the user clicks on the email link I look if the parameter exists and if it has not already been used.</p>
  
  <p>How can I do that?</p>
  
  <p>Thanks for your help.</p>