title: jenkins pipeline input via email
body: <p>I am using Jenkins pipeline 
  I want user to give input via email 
  I tried this but didnt helped.</p>
  
  <pre><code>def tok = UUID.randomUUID().toString()
  mail to: 'admins@mycorp', subject: 'Ready to roll?', mimeType: 'text/html',
  body: """Please &lt;a href="${env.JENKINS_URL}pipeline-inputs/${tok}/proceed"&gt;approve me&lt;/a&gt;!"""
  input message: 'Ready?', token: tok
  </code></pre>
  
  <p>Any pointer about this, I want token or any type of authentication also.
  Thanks in advance </p>