minor email notifier refactorings