is what you're looking for. Check the official homepage of the uudeview
. An example of the usage is
uuenview -m $email -f "$from" -s "$subject" -a $file << EOF
email body here
where mail is sent to $email and has $file as an attachment. Test and enjoy!