How did the blood recipient get my email address?

They didn’t. Neither the blood recipient, nor anyone else, who wrote you the Thank You message has your email address, or any other direct personal information about you.