Add attachments to outgoing messages.

  This updates #101.  We add attachments correctly, but the
 message needs an explicit text/plain MIME-type to resolve
 this.