make email & notification configurable