The data: URI scheme is a nifty way to include files for download as I did here without having to mess with attachments or file hosting. Encoding the payload is just a one-liner.
cat file.txt | perl -MURI::Encode -e "print URI::Encode::uri_encode(join('',<STDIN>))" > link.txt
There are also websites like this one that will do the encoding, for the command-line shy.
