I'm using an email adapter(Sender - XIPayload) to send message to XI. It was working fine when my mail content was the XML messsage. But now i have to use the content of an attachment file to do the mapping. The attachment is an XML file. I have checked the Keep attachments option and now i can see that the payload contains two sections. One is the mail content and the attachment content. But the mapping fails. How can i specify that the content of the attachment is to be used for mapping? Can somebody give some inputs on how to achieve this?