Change emission without affecting material color though glass
You can use a math node to add Is Camera Ray to Is Transmission Ray.

In this example the cube emits red rays for the camera and trough transparent materials, but emits green for all other rays.



Note also that for the light to go through the glass shader you might need the following node setup:


as described in this link:How to illuminate the darkness inside glass objects in Cycles?