She thanked me for the present.

Literal

She [topic-は] that present [possessive-の] thing [at-で] me [to-に] thanks [object-を] said.

プレゼントのことで means 'regarding the present.' 礼を言う means 'to say thanks, express gratitude.'