#foreach($email in $thread) $foreach.count. $!email.subject $email.content #end