A high-current electron gun for electron-ion collision physics