how is the car running? is it running normally, or struggling/surging?
you really should avoid driving the car then
the most common cause of the EML light is a failed throttle body and/or failed throttle body wiring harness - this is very common on your model but there are other possibilities as well
to verify, the computer fault logs will need to be read from the car by a BMW garage. It would be okay to drive the car a short distance to the garage, but I would advise that you do not continue to drive it otherwise, until the issue is fully diagnosed and repaired
Sorry if you were hoping for a different answer, please don't shoot the messenger - I can only give the honest answer, which I have. Please remember that a low rating PUNISHES me for my honest and prompt response, and I receive nothing for my time and answer until a positive rating is clicked.Please let me know if you have further questions. Please do not forget to click a positive rating as this is the only way I receive credit for my answer, thank you. Best wishes with your vehicle.