The electron spectrum fromB meson decays