Constipation . . . oh YES! LOL Along with heartburn, pretty common place symptoms of quitting. The mucus . . . well years ago I had that issue that turned out to be the gallbladder acting up. Good thing you're going to see the doc. Gallstones are NOT fun! Hopefully a simple diet change will take care of it if that's your situation.
Best wishes!!!