Removed the IIFE wrapper in mailgen.js as it is unnecessary in node
Added .DS_Store rule to .gitignore