It might be an error at the bottom of the email contents page. When does it stop displaying? Does it show the whole body or just up to a point? That point might be where the error is.
It looks like your email body refers to the recordset: $rsLangs
So you probably have to add this to the top of the email body: