הסתרת mailto:foo@bar.com בעת ייבוא ארכיוני דואר

This is the way I should go.

I would use PostgreSQL regexp_replace to replace all email addresses in posts.raw and posts.cooked.