Docs for app.render:
Render a view with a callback responding with the rendered string. This is the app-level variant of res.render(), an
res.render()
use app.render in scenarios where you need to render a view but not send it to a client via http. html emails springs to mind.
app.render