Added email system on node.js an API that the extension can call