Fix emailNotify memory leak, add BZs back from cached cases, first pass at cache invalidation