Hi, Blue!
I don't see any other replies, but sometimes my computer lags, so if this has already been said, please ignore
This can be very scary being a newbie snake owner and encountering your first medical "disaster". The good news is, you had a vet on stand by and your snake will be seen by a professional. It is pertinent that your snake does get seen, even if it seems like the sickness clears up on its own.
I would go ahead and quarantine your snake from any other snakes or reptiles you may have (if you have any others) to prevent the sickness from spreading (if it is a sickness.)
Now, with that said, a snake that is drooling "bubbles" or what seems to be mucus most likely has a respiratory infection. This can be treated with a diluted medicine that your herp vet will supply you with and is very simple to use. The R.I (respiratory infection) will clear up in 1-2 weeks normally when treated.
If it seems like your snake is pushing its tongue against the roof of its mouth and this is causing it to drool, there may be a piece of substrate stuck in his/her mouth/neck. I used to use Cypress substrate and my largest male, a 1.0 super pastel vanilla somehow got a piece lodged in his mouth, closer to his neck. My fiance and I removed the substrate (very carefully and meticulously as possible to avoid further injury) from his throat using long ended tweezers (they're about 10in long). In your case, being a beginner, the vet is the best choice and will be able to easily remove it from his/her throat.
Those are the two things that come to mind immediately, but it could be anything.
I really hope that your snake gets better!! & Good luck.