Millions of people will receive their tax code digitally rather than through the post from February.