Electromagnetic emission in a magnetized plasma