Which meaning needs for, and which needs to?
1 · Who gets the benefit?
Use for + person when an action helps someone or replaces their action. The person may receive the result later. In I made a sandwich for Jo, Jo benefits; she need not be standing beside you.
Could you print this for me?Please do the printing to help me.
2 · Who receives the message?
Use to + person with communication directed towards someone: speak to me, explain it to me, write to me. The preposition follows the verb pattern, even when the speaker is also helping you.
Please explain the last line to me.I am the person who needs to hear the explanation.
3 · Whose impression is it?
After sounds, looks or seems, to me presents your impression. To me, the room looks smaller means that this is how you see it. Another person may see it differently.
That sounds reasonable to me.My judgement is that the suggestion is sensible.
4 · Whose needs or ability matter?
Use for me when a judgement depends on your situation: too heavy for me, easy for me, the best time for me. A time can be convenient for you while being inconvenient for a colleague.
Friday is better for me.Friday fits my arrangements more easily.