Invia SMS: Time evolution of the energy spectrum of a high-current relativistic electron beam