Email Formatting Is Harder Than It Looks

A detailed overview of plain-text email formatting, what makes it deceptively hard, and how I wrote mailfmt.