Topological insulators for the generation of electron beams