A time-dependent embedding calculation of surface electron emission