Based on the method of exact solutions to the quantum equations for the wave functions of particles in external fields and media within the framework of the standard interaction model, the modified Dirac equation for the electron is derived that allows its interaction with the medium to be considered. An exact solution to the equation and energy spectrum of the electron states are determined. In the context of this approach, a new type of electromagnetic radiation -spin light of electron in a neutron medium -is predicted and studied. General expressions for the probability of the process in unit time and for the radiation intensity are derived, and a dependence of the radiation intensity on the electron energy and density of the medium is analyzed. The limiting cases of the process and polarization properties of radiation are investigated.