Electromagnetic partner of the gravitational signal during accretion onto black holes