Many people say “I” when they mean “me”—particularly in sentences like the ones below, where there are two objects: the person who is speaking and someone else.
WRONG: She gave the bad news to Joe and I.
WRONG: I don’t know why they got so mad at her and I.
RIGHT: She gave the bad news to Joe and me.
RIGHT: I don’t know why they got so mad at her and me.
I think people make this mistake because they learned (correctly) to use “I” when speaking about themselves as subjects, as in:
RIGHT: Claire and I went to the movie.
They learned not to say:
WRONG: Claire and me went to the movie.
Here’s how to know whether to use “I” or “me”: take out the other person. Would you say, “She gave the bad news to I?” No, you wouldn’t. Unless you were Marilyn Monroe in Gentlemen Prefer Blondes. But she made it sound fabulous.