working on emailing module.