Welcome to vargasmas.com. This is my personal website where I post my nerdy notes...
All on one line:
echo "Message body goes here" | mutt -s "The Subject Line"
-a /path/to/file.tar.gz recipient@mail.server.com