initial commit of email notification feature