Sounds pretty serious. I would take it to a vet, culture the mucus and get it some appropriate meds before it loses too much weight.