Adding email attribute to the post.js to pass to ejs