As you may already know, I cannot offer a diagnosis of the basis of a short letter.
You should be evaluated by a mental health professional who can interview you in-depth and collect a thorough personal and psychological history.