Email (record): Theory of Thomson scattering in inhomogeneous media