bug fix in email notifier.