A non-conventional neutrino beamline for the measurement of the electron neutrino cross section