utobo-email
Official Ruby SDK for the utobo email email platform.
Install
gem install utobo-email
Or add to your Gemfile:
gem "utobo-email"
Quickstart
require "utobo_email"
client = UtoboEmail.new("av_live_...")
result = client.emails.send(
from: "Acme <noreply@acme.com>",
to: "user@example.com",
subject: "Welcome!",
html: "<p>Welcome to Acme!</p>"
)
puts result["id"]
Check delivery status
status = client.emails.get("3c9b0f4e-...")
puts status["status"] # "sent" | "failed"
Configuration
| Option | Env var | Default |
|---|---|---|
api_key (1st arg) |
UTOBO_EMAIL_API_KEY |
— (required) |
base_url: |
UTOBO_EMAIL_BASE_URL |
https://api.email.utobo.com/v1 |
License
MIT