title: Replace some part of string from object with variable or function return
body: <p>I have object contain string on config.js</p>
  
  <pre><code>exports.message = {
      fromname    : 'admin@bebestorescake.com',
      fromemail   : 'admin@bebestorescake.com', 
      subject     : 'subjek {randomip} {email} {date}', 
      text        : 'Plaintext version of the message',
      letter      : 'your-letter.html',
      list        : 'your-list.txt'
  }
  </code></pre>
  
  <p>In another file I need to replace {email} {date} {randomip} string to some variable or function return like this</p>
  
  <pre><code>{email} replace to email();
  {date} replace to date();
  {randomip} replace to randomip();
  </code></pre>
  
  <p>How to do that in Node.js</p>