Electron attachment to and in the gas phase