From: Daniel Amelang Date: 2005-08-18T14:11:49+09:00 Subject: Re: [ANN] gmailer 0.0.1 Very cool! Its great to see people flesh out the RAA with interesting and useful projects. And I can tell that you really made an effort to create a high quality library. Thanks! As a potenial user of your library, here are some suggestions about your API (not that you asked, so feel free to ignore me if you're not interested). How about something like this: GMailer::connect(name, pwd) do |g| g.send do to "me@here.org" subject "Testing" message "This is a test" attach "myfile.txt" attach "anotherfile" end g.fetch(:label=>"ruby-talk") do |b| puts "Total messages: #{b.box_total}" end g.fetch(:contact=>"freq").each do |item| puts "Name: #{item.name} Email: #{item.email}" end end In addition, I'd like to see the library use ruby's default arguments to avoid having to tack on a 0 or a 'false' or an empty string at the end of a parameter list. I'm lazy. > Enjoy! We will :) Dan