Identifying a four-pin IC labelled EL 8+7 G8025
Possibly an EL817 optocoupler, but I'll reserve final judgement until I see the photo. If it's a semiconductor the only common 4-pin parts used in this sort of application are bridge rectifiers and opto-couplers. There are other 4-pin parts such as common-mode chokes, but they look different. 



Bridge rectifiers look more like this: