Sending an excel sheet of to mail Ids using file to mail scenario

Hello,

I have a folder with three folders archive exception and log. Log folders have the details of exception. I want the XML files that are in Exception, to be sent to resp email ids with the data in it to be stored in an excel sheet( data will be collected from the log file for the correspondng file in exception).

eg: if test.xml is in exception its log will have an exception detail somethng like " Enter a value".

In this case i want to give the exception details as well as some relevant details with it like material number etc , time at which the exception occured . These details are to be given in an excel sheet .

Is it possible to do using file to mail scenario. Please help by explianing the procedure.