How to deal with a team colleague submiting a bad article? My friend and I have been researching on a topic since when we were doing our master degrees. We were preparing to submit the next chapter of the research to a publication (we already have an article published on the matter), when the coordinating teacher decided to introduce another individual, one of his phD students, into the team, probably to get a higher count of published articles.

Now, this guy never worked on the project, and he didn't really know what it was about. Worse, the coordinating teacher asked him to write the article for us (so as not to give him an article for free), and boy he screwed it up.

He made really bad English mistakes, he didn't format the document properly, he left things in our native language and he forgot to delete some of the template text from the document.

The worst part is that he never sent the "final form" of the article to either me or my friend. As a result, all of these mistakes came down on our heads when the reviewers declined the "paper", rightfully so. He even "forgot" to put me as an author in this research, but my friend caught word of this and forced him to put me in there too. This could have easily escalated to legal trouble in my country, since this is intellectual theft. 

I sent to them both (coordinating teacher and new guy) an email in which I said that this problem could have been easily avoided should the new guy had actually played as a team player and send the paper for peer review to the rest of the team. Was I wrong in doing so?

EDIT: I am more concerned about the fact that the teacher forced this guy into the team so he can get "free" research points without actually doing any research. As this guy is backed by the teacher, by calling up on his mistake may worsen the relationship between me and that teacher.

So the question can be rephrased to a more general one: how to deal with such a situation when the responsible for the failure is someone backed up by the teacher, but who has no actual contribution to the research?
As a teacher, if I were to put a student in a team, is for the student to join and learn; and possibly (as it may be your case), to relieve the team from some tedious work. And actually, writing down a paper could be a good way of making sure he understands everything that has been done. Assuming there is no favouritism, I don't have any reason to make the guy get "research points" if he doesn't learn something in the process. So, if I am convinced he is affecting negatively an otherwise successful team, he is going to get little sympathy from me.

On the other hand, you are in a bit of a "he said-she said" situation, so you have to be careful and show that you have tried to collaborate with your teammate and attempted to solve the problem in a civilised manner. Show that when he joined the team, you didn't just dump the task on his lap and forget about him, but you actively tried to help and teach him what you did (because you tried to help, right?).