docs: function(to,tmpName,obj,cb){
      fs.readFile(
        path.join(__dirname, 'emailBoiler.html'),
        'utf8',
        function(err, data) {
          if (err){
            return cb(err);
          }
          var tmp = cfg.templates[tmpName];
          var locals = {
            title: '',
            content: tmp.text,
          };
  
          var html = ejs.render(data, locals);
          obj.link = '<a href="' + obj.url + '">' + tmp.linkText + '</a>';
          html = ejs.render(html,obj);
  
          var subject = ejs.render(tmp.subject,obj);
  
          sendEmail(to,subject,html,cb);
        }
      );
    }