Text this: Energy loss and palsmon excitation during electron emission in the proximity of a solid surface