The concept of photon exchange comes from Feynman diagrams and the exchange is of a virtual photon, a four vector carrying the quantum numbers of the photon ( or whatever the off mass shell particle is) but the mass is not on the mass shell, and has a different value according to the calculation of the process under study.

This is a simple description of heuristically understanding how one can write with Feynman diagrams electron electron and electron positron interactions. For the diagram above it "understands" repulsion by the momentum carried by the virtual photon four vector.
Clearly the recoil of the first electron and the impact of the second electron with the photon drive the electrons away from each other.
The attractive force between electron and positron pulls in the Heisenberg uncertainty principle for an intuition ( it is the boomerang analogy turned to Feynman diagrams for those who know it from elsewhere):

The uncertainty principle makes this possible . The attraction between an electron and a positron may be described as follows: the electron emits a photon with momentum directed away from the positron and thus recoils towards the positron. This entails a degree of definiteness in the momentum of the photon. There must be a corresponding uncertainty in its position - it could be on the other side of the positron so that it can hit it and knock it towards the electron .In the diagram above the wavy line represents the SAME photon.
The real reason that attractive and repulsive forces appear in quantum mechanics is that the solutions of the Schrodinger equation have different potentials and thus the wave functions differ . In this link there is reference to an example that can be solved simply, of attractive and repulsive potentials.
Now on frequencies and virtual photons. The simple exchange diagrams give a formula of how to create the integrals that have to be evaluated so that a calculation of the scattering crossection, i.e. probability of interaction, can be done. If you read the link, you will see that in equation 23 on the four momentum vector dot product, q^2 the four momentum transfer squared, of the exchanged virtual photon enters in the denominator of an integral over q. As for a real photon q^2 is zero ( its mass) it is evident that this photon for most of the integration is off mass shell, i.e. its energy^2 minus its momentum^2 can be negative or positive ( depending on the diagram kinematics), not a definite value so as to be substituted into E=h*nu and give a frequency.
If it is negative, more so, as for the positive one might use the de Broglie wavelength for the effective mass. Positive q^2 can happen for electron positron scattering generating particles, as at LEP, or annihilating into two gammas. Your question though, asking about an electron vaguely interacting with the charges in the environment is in an undefined regime of interactions and thus the term frequency cannot be applied.