Rotten egg smell

I just sold a home that had been sitting for over 2 years and it has a gas water heater. The buyer is complaining of a rotten egg smell in the hot water. Can anyone tell me what is causing this and how to get rid of it?

Thanks.

Rolf

Wheat Hill