EngageSmart Inc. /zigman2/quotes/229492983/composite ESMT -7.08% has set terms of its initial public offering, in which the Massachusetts-based customer engagement and payments software company could be valued at up to $4.02 billion. The company is looking to raise up to $325.0 million as it is offering 13.0 million shares in the IPO, which is expected to price between $23 and $25 a share, and selling stockholders are offering 1.55 million shares to raise up to $38.8 million. The company expects to have 160.96 million shares outstanding after the IPO. The stock is expected to list on the NYSE under the ticker symbol "ESMT." J.P. Morgan, Goldman Sachs, BofA Securities and Citigroup are the lead underwriters. The company is looking to go public at a time that the Renaissance IPO ETF /zigman2/quotes/207665280/composite IPO -3.81% has climbed 8.3% over the past three months to outperform the S&P 500's /zigman2/quotes/210599714/realtime SPX -1.69% 5.0% gain.