javascript email customization