Added emails script.
Merge branch 'develop' into staging
Fixed typo in emails.js.
Merge branch 'develop' into staging