Nanostructured integrated electron source