Subject pronouns:
he, she, I, we, they
Non-subject:
him, her, me, us, them
it and
you are invariable, i.e., used as both subject and non-subject pronouns.
Use the subject pronouns for the subject of a sentence. Use the non-subject pronouns everywhere else.
(The subject is not stated in an imperative, so you won't find a subject pronoun in an imperative sentence!)
Give me your attention. Give James and me your attention.
Send the letter to me. Send the letter to Sarah and me.
CJ