Update mail-generator.js