Use mailnotify hook if app is enable