mail config integrated into notification creation