#!/bin/sh -e
# veditor - for using lynx(1) as VISUAL editor in mail(1)
#
{ echo ''
cat $* |egrep -m4 '^From:|^Date:|^To:|^Subject:'
cat $* |sed '1,/^$/d'
echo '
' ;} |lynx -force_html -stdin
To use current message just type ''v'' ; if in composition mode use ''~v''. It doesn't always look pretty but it's often enough for following a few links.