A consistent interpretation of recent CR nuclei and electron spectra