added emailhandlers class