Hi,
Follow the document: Periodically auto generation of Report in background and send result to user mail ID which explains the logic for sending MB5M report as email. You can schedule the report as daily or weekly basis, which will consider all materials to expire for the days given in selection and send email. The email will contain all the fields available in MB5M output!
If the data is fetched directly from the ECC system, no need of XI/PI.
Regards,
AKPT