$(function() {
   $('.email').each(function() {
      var $email = $(this);
      var address = $email.text()
         .replace(/\s*\[at\]\s*/, '@')
         .replace(/\s*\[dot\]\s*/g, '.');
      $email.html('<a href="mailto:' + address + '">'
         + address +'</a>');
   });
});


