If you want to thank someone, or show them that you care, writing by hand and sending in the post is more impactful and thoughtful. Here the medium (posted, hand written latter) shows that you’ve put effort into thanking them.
You could send them a thank you text, with the same words, but it wouldn’t convey the same level of gratitude. The medium is the message.
Pay attention to the medium of information.