In the Email Connector module you’ll need to create an Attachment entity and copy your PDF document into there. Once you’ve done this, set the Attachment_EmailMessage association to link the Attachment to the EmailMessage you are going to send.
https://docs.mendix.com/appstore/connectors/email-connector/#55-adding-attachments
I hope this helps.