Postulating the existence of a fnite-mass mediator of T,P-odd coupling between atomic electrons and nucleons we consider its effect on permanent electric dipole moment (EDM) of diamagnetic atoms. We present both numerical and analytical analysis for such mediator-induced EDMs and compare it with EDM results for the conventional contact interaction. Based on this analysis we derive limits on coupling strengths and carrier masses from experimental limits on EDM of 199Hg atom.