Before fix layout in emails
Refactor app.render insead of res.render