Complex sentence: Alex gives Katie a letter with the words "To Her" on the envelope which thanks the recipient for making Alex happy.
Split into simpler sentences: Alex gives Katie a letter with the words "To Her" on the envelope. The letter thanks the recipient for making Alex happy.