A fork of the sinatra project to test out the gmail gem with oauth: gmail_xoauth
how to use:
gem install sinatra
gem install gmail
gem install oauth
gem install haml
edit app.rb to put in the email address of the one you want to test (a dummy or throw-away account).
ruby app.rb
Last version of this code can be found at https://github.com/nfo/gmail-oauth-sinatra.