added require 'mime' to gmail.rb