title: How to convert a big URL to a small text while sending email
body: <p>I am using below API which is working fine:</p>
  
  <pre><code>Message message = new MimeMessage(session);    
  StringBuilder body = new StringBuilder();    
  String purchaseHistoryUrl ="someURL";    
  body.append( "&lt;a href='" + purchaseHistoryUrl + "'&gt;here&lt;/a&gt;");    
  message.setContent(body.toString(), "text/html; charset=utf-8");
  </code></pre>
  
  <p>I have a big URL:</p>
  
  <pre><code>https://mail.google.com/mail/u/1/#inbox?compose=15728437dfc5f1f5 
  </code></pre>
  
  <p>and I want to make this big URL as 
  something as "Please click here" as hyperlink in email.</p>