That's a good one.
My first thought is that "that" is a relative pronoun and the subject in the adjective clause with the second "you" as an appositive. The first "you" is the antecedent to the "that". But I am not sure that that explains the sentence. I willing happily read other suggestions.
Student or Learner