Given that the cramps came after you rehydrated, do you think they might have been caused by electrolyte depletion rather than dehydration?
Coffee would help you hydrate. It's maybe not as good for you as pure water, but it shouldn't be part of the problem. I'd guess donating blood was the key factor.
_________________________
Quality is addictive.