Electron-emission-induced cooling of boundary region in fusion devices