utilities: Limit the number of warning/error emails sent by the logger