Ah, thanks for the clarification. Still, the article made it sound like the public firing was a direct response to the DDoS blackmail (corporate expediency) rather than about her actions. Of course, it is possible that it's like you said, and was in the works already.
I would assume it was both. Assuming they were already thinking about the problem, that forced a decision. Either way, when the whole thing came to their attention, they had to have realized that her action, as noted "speaking in her capacity as a SendGrid spokesperson" had made her utterly toxic to the vast majority of developers who are not "black Jewish females". If she displayed any of the attitudes WRT responsibility evident from the Guardian article if and when they talked to her, the decision would not have even been very difficult.