I don't know of any method to attach a file to an outbound email from IM. The problem would be getting the source file to the IM server to be sent out.
You should consider opening an Idea here in communities to have product management consider this functionality to added to a future release.