Yes the unifying theory that puts the force of gravity and electromagnetism into a predictable relationship happens to be the inverse square outward propertied sphere of radiation. Radiation is simply the dark electromagnetic disturbance signals of material state masses emerging into an outside vacuum. It is sort of like light pulsing though a fiber optic cable and then out into a vacuum. Photons act to signal at a distance then, though they are not going to transmit the original message necessarily they have a negative energy effect in the signal as to drain subatomic particles of energy of momentum. That leads to the radiometer proof of gravity I discovered years ago.
When it comes to the sun, though , that is not the whole story . Although photons radiating from the sun at various percentages along the electromagnetic spectrum including gamma they do not carry energy and they do not carry any mass. The Sun loses more energy and mass in the form of actual momentum and that is from the solar wind. The wind can include any parts of atoms, whole atoms and possibly molecules too. Each individual particle projected by the Sun is actually a miniature rocket having the escape velocity to leave the sun's gravitational field which is amazingly powerful, as I recall some 500 times that of the earth's gravity. Each of these particle rockets can have the ability to travel straight out of the solar system if not deflected by some planetary magnetic field and these tiny rockets can also be trust forward by the radiation field. If you are looking for real energy from the Sun it is not the photons. Photons draw from existing hidden momentum. The cosmic wind is mass and energy ....that is real mass and energy. The relationship of the cosmic wind and the radiation sphere "field' is just the origin being the Sun and some possible trust reactions. going out into the more distant universe we expect to see huge spherical photon fields and much larger solar wind phenomena than we find in our own solar system. The bending of light from other than refraction, reflection and diffraction never happens but the solar wind and cosmic rays do react to sources of magnetism/ electro magnetism and to the coding of the photons because mass is there.