the built in LUA action. email does not have the ability to do attachments.
this basically is creating a nimbus message to be sent out the emailgtw which does not support attachments.
You could use a third party tool to send email from a command line that dues support attachments.
or open an ER to have this functionality added.