Here is what I learned from this site:
If a researcher learned that somebody found a serious mistake in one of their papers, published a counterexample and a corrected version of the result, and did not even bother to tell them about it, then they would be not amused.
In case I am submitting a paper heavily build on a series of previous papers authored by the same team, should I contact the original team or not?
If I publish without notifying, will the original author think that I am stealing apples from their trees?
This situation is related to: Publishing a non-invalidating comment to a recent paper- should I contact the original authors if I know them?.
The difference is, 1) I am publishing a research paper not a comment/opinion, and 2) the original authors are not my colleagues and we don't know each other.