relationship advice PLEASE

I’m hurting. My boyfriend told me he wasn’t sure we should be a couple anymore because he lost feelings Wednesday morning, and we officially split and I told him i would need space Wednesday night because i still had feelings for him (meaning i wouldn’t talk to him for a while). I was crushed and cried all Wednesday and Thursday morning. I felt sick to my stomach and didn’t even want to eat. It was HORRIBLE. Thursday morning he called me and said he made a mistake. I was hesitant and told him I would think about things. We hung up the phone and he ended up snapchatting me a bunch of paragraphs about how he cares deeply for me and hated hurting me. We are long distance right now and are going back to school soon. He claimed that this summer has been really bad and says that’s what led to the “decline” of his feelings for me and that it had nothing to do with me and said we should get back together and if we communicated more and tried harder, we could make it work and things will be better when we are both back at school and are able to see each other more often. It sounds like his mental health isn’t the greatest and he mentioned that he had a hard time staying happy.

So I got back together with him. He’s my first everything. I’m completely head over heels for him and I had no time to move on. I’d do anything for him. We had a lot of serious conversations and have completely opened up to each other and shared every single one of our doubts and thoughts - which I feel we didn’t do before. I do feel like we are worth a second chance because we work so well together and I cannot think of a bad moment with him. I asked him if he remembered any bad moments and he said no, and that that was one of the things that terrified him after he broke up with me.

I just have hope this will work now that we have opened up and know that things need to change and know that we need to communicate our feelings better. Am I stupid or crazy for doing what I am doing? I cannot be hurt like that again but if I didn’t at least try one more time I would spend a long time wondering what we could’ve been if we had done things differently and better.

Any advice is appreciated. Thanks for reading this whole thing.