added emailHandler, with more stubs and basic file reading tests