fix email notifier