Well no she was not going to win anyway.
It is entirely besides the point whether she was going to win (or whether she does).
The relevant point is that this information seems as though it may have been illegally obtained (not sure how it could possibly have been obtained legally), either with the help of someone leaking stuff from the CIA or from a foreign intelligence agency that got it and gave it to the Republicans. Or maybe in some other way (not sure how?).
The point is that this needs to be investigated by law enforcement and potentially result in criminal prosecutions, depending on what exactly happened.