email notification and hashing