To send attachments within the terminal/console:

 $ uuencode file.bz2 attach-name.bz2 | mail -s "attachment" [email protected]