Use this Ruby SDK to generate a mailer class and send email via SendGrid with Ruby on Rails. SendGrid is a cloud-based email platform. See the SDK homepage for detailed instructions on using SendGrid as well as code examples for implementing Ruby on Rails.
Google has announced its latest API with a haiku of all things:
New admin tool dawns
Settings change like the seasons
For hosted email
That's from Andrew Olsen of the Google Apps team, announcing the Google Email Settings API, which allows IT administrators at organizations that use the Gmail-based Google Apps hosted webmail solution to "programmatically update Gmail settings for their users in bulk by making requests to a GData feed." Previously, settings could only be changed manually, on an account-by-account basis.