It is very important to understand the difference between real photons and virtual photons.
Now when you need to create EM attraction between two objects, to pull, you need to create a static EM field, that might have the effect of attracting other objects. This is caused by the static EM field that the object (charge) would create, and that static EM field is modeled by virtual photons. These are not real photons, just a mathematical model of how the static EM field creates this attraction (or repulsion).
We use these virtual photons to describe the effect that the EM field has on certain objects that it interacts with.
Virtual photons, what makes them virtual?
Now you are talking about an object emitting real photons, thus creating attraction. This does not work, because photons that are emitted by the source do recoil the source, and the absorbing object too, thus creating a push effect between them (instead of attraction).
Does an atom recoil when photon radiate?
Thus, the emitting source receives a recoil in the other direction, away from the other object.
And when the photon is going to be absorbed by the object, it will receive a recoil again in the opposite direction, away from the source. This is called radiation pressure.