Welcome to HCM.
Passing of mucous could be a form of diarrhoea
. Intestinal amoebiasis
can also present in this manner.
Get a stool examination done. If E.H. Cysts are seen in the stool, then you will need anti- amoebic drug treatment. If other bacteria are seen it will need to be treated accordingly.
Best is to consult a doctor.