Re: When to use me or to me?
[Subject] [verb] [direct object] to the [indirect object].
[Subject] [verb] [indirect object] [direct object].
NOTE that when the direct object is a pronoun, this doesn't work.
I gave the ball to the referee.
I gave the referee the ball.
I gave the ball to him.
I gave him the ball.
I gave it to the referee.
*I gave the referee it. -- Not this one.
Except for the one with the *, all are fine and have the same meaning. Use whichever version you prefer.
If you need to have a long noun phrase as either the direct object or the indirect object, I'd suggest putting it last.
"I gave the letter to the girl with the long blonde hair wearing the green sweater" is better than "I gave the girl with the long blonde hair wearing the green sweater the letter."
I'm not a teacher, but I write for a living. Please don't ask me about 2nd conditionals, but I'm a safe bet for what reads well in (American) English.