Some examples of sending and receiving emails with Node.js.
This uses the following libraries:
config.json and enter your email account details.
coffee send.coffee to send yourself an email with an attachment.
coffee read.coffee to receive the sent email and write the attachment back to disk with a new name.