This is a drop-in replacement for the
<txp:wm_encode email="email@example.com" linktext="email me" title="popup" />
In addition, there are
script="1" to generate it, and
noscript="1" for the text block.