It's not necessarily that simple. The pronoun 'I' is subjective: My mother and I had tea together; whereas the pronoun 'me' is objective: The tea was too hot for me. In the first example the pronoun forms the subject of the verb, so 'I' is correct, in the second he forms the object, so 'me' is correct.