i\'m facing several problem with API,
first:
send method asking for \'id\'(message id or thread id) .. but why ? i\'m sending new message so it shouldn\'t
I think you may have a look at this gem I just built that use Gmail API and not using IMAP and SMTP like other gems:
gem install gmail-api-ruby
m = Gmail::Message.new(to: test@test.com, subject: "hello", html: "this is html part, text: "this is the text part")
m.deliver
gmail-api-ruby
It comes with a lot of helpful methods that you use in Gmail interface