It is not possible to attach a file when creating a payment order via email.
However, you can generate a payment link, which you can then include in an email or via another communication channel.
This allows you to fully customize your message and include an attachment.
To do this, follow the procedure for creating a payment order via URL described here.