Should you care if a girl dump you by email because her mom didn't like you because you were black?

No she not worth the time.... And outdated thinking leads to unhappy future.

If the girl or her mom really thinks that she shouldn't be with you because of your skin colour, she is definitely not worth the time.