Downloading an email attachment from Pine:

use 'export' with 'uue' and the extension.

exit Pine

'uudecode name.uue'

This should do it. You will have a file with the original name, including the original extension.