send and retrieve emails (node js)