Also drink hot water like tea to move mucus down the drain and it will give some relief in your stomach. In my last fast I had excessive mucus as well, I used tongue scraper every few hours. Eventually it all went away. If you brush your teeth please do not use anything but water.
Toothpastes are toxic anyway.
Spitting out your junk is better than swallowing it. It will subside as you move forward.