Use a sheild or strafe back and forth, or use cover since you are also range and actually the better range class. Always jump cast while putting your back with the sheild on it towards the archer.
I main mage, archers are free kills as a mage
I haven't tested the validity of this but I hear looking down also protects your head while you're casting with a shield on your back.