I hope you don't mind me asking a very blunt question, Carla, but did the trip to A & E involve some type of attempt at self-harm, and are they not allowing you your licence due to mental health issues?
All I can really suggest is talking to your GP about this letter, and about steps to take to overcome whatever health issue has led to your not being able to have a licence.