You can use the email module with templates from the appstore. This will let you send and email with or without a tempalte and with attachements: https://docs.mendix.com/appstore/modules/email-with-templates#1-introduction
There is an association called Attachment_Email, if you fill this with your generated file document from the excel exporter module and send the email object, it will send it as an attachement.