The article says it “appears” she was tipped off based on article in Slate. Quite a stretch.
More than likely she was tipped off by her housekeeper who was printing out all her emails. That or it was her idea in the first place.