The middleware is the central part of the ASL which mediates between the WebAdmin and the operating system and it's daemons. Please investigate why your middleware dies and has to be restarted. Disabling the notification emails would be to remedy symptoms, not the disease itself.