Kelly's attorney, Steven Greenberg, tells TMZ ... Foxx's texts to a fellow staffer -- in which she implicitly referred to his client as a pedo in comparing his case to Jussie Smollett's -- was outrageous, considering Kelly hasn't been convicted of any such crime.
Greenberg says Foxx is letting her personal biases color the way she characterizes Kelly's case -- which she implied was a way bigger deal than Jussie's in her correspondence that was made public Tuesday.
Michael Avenatti has waded into the Jussie Smollett drama down in Chicago, saying he almost got directly involved when the case was at its peak in February. Avenatti explains -- in a statement he posted and then deleted from Twitter -- that counsel for the Osundairo brothers reached out to him to see if he could potentially help 'em out.
Avenatti says he ultimately declined, but along the way ... he says he reached out to Kim Foxx to give her a heads-up about his possible involvement as a courtesy. He insists there's nothing improper about this, as he claims it's routine.
There's more -- Avenatti goes on to slam R. Kelly's attorney, Steven Greenberg, saying SG is trying to muck up the Kelly case by personally attacking Avenatti over his own legal woes. What's more, Avenatti says Greenberg is "attempting to create a smokescreen to distract away from the mountain of evidence" Avenatti claims the Cook County State Attorney has against the singer to prove he abused underage girls.
Avenatti says the evidence will speak for itself, adding that he hopes Kim Foxx and co. will bring justice to Kelly's alleged victims. He goes further in praising her, saying she and her staff are "extremely professional, unbiased and focused on the delivery of justice."
It's almost a word-for-word counter to Greenberg's claim that Foxx's office is barely functioning in chaos in the ongoing fallout of the since-dismissed Jussie case.