Dirk, I haven’t read all the threads so may be repeating stuff but…In May I walked out of work as I could see no point being there at all. Crap task in an office with no crack at all. Went to docs, broke down in tears feeling dreadful. She prescribed tablets and fresh air and exercise. Also referred me to First Step counselling. Never took the pills but took 5 weeks off work, cycled, walked and motorcycle loads, got tons of jobs done and felt much better. The counselling was an on line thing after an initial phone chat and it gave me useful tools to help with moods and thoughts.
Would deffo recommend it. And as for work, completely disregard it until you feel right. Life and loved ones are all that matters.
Best of luck mate. You will get through it!