Luckily, every office has its own underdog or “pecked hen.” They usually gravitated to me as a kindred spirit, taking me aside to calm me down or nip out for a cigarette.

I remember on one occasion catching the girl who sat next to me glancing at my computer screen to see what I was working on. But she held the glance for about 10 seconds, which seemed like a really long time, more like an intrusive stare. I got very upset and sent a strongly worded email to the company manager, with a few line managers cc’d for good measure. The email was so strongly worded that my colleague had tears in her eyes when she was called in about it and was granted permission to leave work for the day. She even brought some chocolate to say sorry to me and mentioned more than once that she was Christian.

Once I left that job she unfriended me on Facebook, on my birthday. Even though by that point she knew I had mental health problems.

When I got my dream job as a fashion writer in London, at a very decent salary, the “flights of ideas” that are part of my illness, compounded by the restlessness brought on by my medications, sabotaged my success. I’d been there for two weeks when I asked if it was possible I could take a six-month leave to work as a trainee reporter at a local newspaper in Hawaii. That wasn’t allowed, but two weeks later I took three days of holiday and a weekend away to travel to Paris to write a deodorant review for a small, independent magazine. I took another week off soon after to host writing workshops for people with disabilities.

My boss was very understanding, and I did last in that job for 18 months but ended up resigning to be closer to my mother, who was having health problems. My office goodbye card was memorable: Even though I hadn’t told many people about my condition, all the notes went along the lines of “I’ll miss the madness.”

An important lesson I have learned by overcoming adversity in the workplace and learning to live with mental illness is that we can build castles with the stones that life throws at us. I now work from home as a freelance writer, at hours to suit, which allows me the flexibility to get the regular therapy sessions and medical checkups that I need.

I mostly write about mental illness. I am also writing my first book, “A Beginner’s Guide to Sanity,” with a highly regarded professor of psychiatry.