Hi Ben.
I decided that there must have been something wrong with the ruby mail gem, so I started monkey-patching the crap out of the Mail module stuff, and trying to force the attachment headers to look exactly like the headers in an e-mail sent from GMail. Here are those efforts:
But the file still winds up being called "noname" in GMail. This leads me to believe that there might be something wrong with the GMail software.
MIME-Version: 1.0
Received: by 10.50.232.39 with HTTP; Wed, 10 Dec 2014 22:34:58 -0800 (PST)
Date: Thu, 11 Dec 2014 00:34:58 -0600
Subject: backup
Content-Type: multipart/mixed; boundary=001a11449aa2a67f9a0509eaf9dd
--001a11449aa2a67f9a0509eaf9dd
Content-Type: multipart/alternative; boundary=001a11449aa2a67f790509eaf9db
--001a11449aa2a67f790509eaf9db
Content-Type: text/plain; charset=UTF-8
backup
--001a11449aa2a67f790509eaf9db
Content-Type: text/html; charset=UTF-8
<div dir="ltr">backup</div>
--001a11449aa2a67f790509eaf9db--
--001a11449aa2a67f9a0509eaf9dd