Tea and candy are the traditional, mild culinary uses. Essential oil is far more concentrated, used topically diluted or in aromatherapy. Enteric-coated capsules deliver concentrated peppermint oil to the intestine specifically, common for digestive use.
The coating keeps the capsule from dissolving until it reaches the intestine, since peppermint oil can cause heartburn if released too early in the stomach. This is specifically relevant for the concentrated oil form, not the tea.
No, tea delivers a much smaller amount of peppermint's active compounds, mainly menthol, than a concentrated oil capsule, so the two serve different levels of intended effect.
Undiluted, it's strong enough to cause a burning or tingling sensation and potential irritation, so it's typically diluted in a carrier oil before topical use, similar to other concentrated essential oils.
Anyone with GERD or acid reflux, since peppermint can relax the sphincter that normally prevents reflux, and infants and young children, for who m menthol products carry specific cautions.