implemented the functionality to send email notification to subscriiber.