Just like the meaning of the word Emergency, only in necessary impromptu situations can the money be touched. A different reason why most people make mistakes is that they don't really know what emergency is all about. Aside having emergency funds kept, there should be extra side of discretionary income kept to foot minor bills that may not have come during calculating expenses.
Emergency funds can be consolidated, the heavier the funds the better effective against emergency that should warrant affecting your investment.