Ambient Occlusion on an Unlit shader?

I’m trying to setup a material that uses custom lighting (using a custom lightmap), but when I change Shading Model to Unlit (and switch the color to the Emission input), I also lose Ambient Occlusion on the objects using the material. Is there a way to still retain AO on a material not using the rest of the lighting pipeline?