Swallowing your mucus will do you no harm. The acids in your stomach will digest your mucus (like other proteins) and also neutralize the cellular debris and bacteria in your stomach (if any). It is quite unlikely that the mucus can survive the acids in your stomach.