Rule reminder
With glie- forms in passato prossimo, the past participle agrees with the direct pronoun: glielo→-o, gliela→-a, glieli→-i, gliele→-e.
She sent the document to him. Which is correct?