Bill Gates holding the toy and message he sent to Reddit user NY1227.

Bill Gates holding the toy and message he sent to Reddit user NY1227. Photo: Reddit/NY1227

This post was originally published on Mashable.

Secret Santa is generally an awkward tradition that requires buying gifts for someone whom you barely speak to all year in the name of Christmas cheer. It usually results in random coffee table books or gift cards – unless Bill Gates is your secret Santa.

Reddit user NY1227, who was participating in Reddit's annual online secret Santa gift exchange, posted a message to RedditGifts on Wednesday that read "Spoiler alert: Bill Gates did not get you, because he got me."

Bill Gates' message to Rachel.

Bill Gates' message to Rachel. Photo: Reddit/NY1227

It turns out, NY1227, also known as Rachel, received her present – a stuffed animal cow, a donation on her behalf to Heifer International and a National Geographic book – only to realise her random gift giver was the Microsoft founder himself.

"I thought Bill sounded like a friendly fellow. In fact, I had this whole image of this poor guy named Bill trying to navigate my wishlist full of makeup, nail polish, glittery things to buy me. Quite frankly I felt bad for this "Bill" since I'm a self identified pain in the ass to shop for," she wrote on Reddit.

She said the gifts were a perfect match for her based on her love of travel, charity and education.

One of Bill Gates' gifts to Rachel.

One of Bill Gates' gifts to Rachel. Photo: Reddit/NY1227

"My god. Never in my entire life did I imagine, ever, ever, ever that Bill would get me. I am SO SO thankful for the time, thought and energy he put into my gift ... I feel SO shocked and excited that not only did I receive a gift from Bill, but it was perfectly and EXACTLY tuned into my interests. My gosh, what a rush!!"

The Bill and Melinda Gates Foundation confirmed to that Gates did participate in Reddit's Secret Santa and the photo and letter appearing on Reddit are verified.

But Rachel had to include an apology to Gates in her Reddit message.

"Sorry for the Apple iPad on my wishlist, that was really awkward."

Mashable is the largest independent news source covering digital culture, social media and technology.