Neutrinoless double electron capture as a tool to measure the electron neutrino mass