working on the emailing module.