Photoemission spectral functions from the three-body Green's function