<human>: Can you provide a brief rundown of the text in within 3 sentences?

So, to start off I've been suffering from depression for about 2 years now, but the past 6 months is when it got really bad. I work for a small company and my boss was aware of my situation, so we met and she agreed to hire a new bookkeeper to assist me and I could move to part-time work until I worked things out. 

 

Well, my schedule never actually reached part-time status because my boss left for vacation for a month, and she did not want me going part-time until the new bookkeeper was fully trained (she dropped this on me out of the blue, after we had already agreed and I was already expecting my schedule to change). I found myself very stressed out and ended up missing two days in two weeks and coming in late four times in one month. I feel really incredibly terrible about how many people I've let down, myself included. 

 

When my boss returned from vacation yesterday we met and we both agreed that my employment with the company was not working out. She suggested that I write a letter of resignation and I agreed to, but after thinking it over I'm not sure how that will affect me. 

 

I understand that she's probably trying to avoid unemployment claims, but I don't even think I'd be eligible for unemployment anyway since I would definitely be fired for cause. 

 

I've watched this company sort of screw employees over before, so I just want to make sure the same isn't happening to me.
<bot>: suffering from depression and missed a lot of work - boss is asking for a letter of resignation (I assume) instead of having to terminate me. Is that going to screw me over?