title: Create a function to send mail from a div
body: <p>I've several divs with a email icon.</p>
  
  <pre><code>&lt;div class="icon-send-mail" id="test1@email.com"&gt;&lt;/div&gt;
  &lt;div class="icon-send-mail" id="test2@email.com"&gt;&lt;/div&gt;
  &lt;div class="icon-send-mail" id="test3@email.com"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I want to send an email when the user clicks on that icon.</p>
  
  <pre><code>$( document ).ready( function() {
      $('.icon-send-mail').click(function(email) {
        var mailto_link = 'mailto:'+email;
        var win = window.open(mailto_link,'emailWindow');
      });
  });
  </code></pre>
  
  <p>How can this be done?</p>