Electron kinetics at the plasma interface