This code enables SMTPTLS authentication requireed for sending mail via the gmail servers. I found this code via a blog entry from James Britt.
d.hatena.ne.jp/zorio/20060416 www.jamesbritt.com/2007/12/18/sending-mail-through-gmail-with-ruby-s-net-smtp