ETA and dilepton production in heavy-ion reactions