fixing up an error with email.js - poor case