Create email_gen.js