in reply to
Re^2: Converting carriage returns to HTML breaks
in thread Converting carriage returns to HTML breaks
I'm wondering if I have to do something special before it gets stuffed in the database, but I don't think so.
As a general rule, you do not want to do something special before the database. You want to do something special before the email. When you need a particular encoding or alteration of your data for one use, you'll find yourself having to backtrack less often by doing that transformation as late and as local as possible.