Electrons do have mass, so their values must be considered when observing the measurements at the end of the mass spectrometer. However, electrons have a mass of ~1/1836 AMU and are borderline negligible when measuring the overall atomic mass of an atom....