Hi Ricardo
The reason for my suggestion is because usage of Mail Package is deprecated - refer note 856599.
The body text can be taken from the MainDocument. You can refer to the below document, item 3.2.4 where it describes sending a mail with body and attachments. The MainDocument payload can be set as the body by setting the ContentDisposition to inline.
How to Use the Mail Adapter of the Exchange Infrastructure 3.0 J2EE Adapter Engine (NW2004)
What you mean mapping part ? Use a MM ? Module Adapter ?
I meant Operation Mapping (using either a Java Mapping or Message Mapping with UDF) to set the attachments.
Rgds
Eng Swee