make email notifications configurable