ActionMailer through Notix, Devise and all.
Rails apps already send through ActionMailer, so the integration is a delivery setting: point smtp_settings at the relay and every mailer, including Devise's confirmation and reset emails, goes through Notix. There is no Ruby SDK; for an idempotent send, one Net::HTTP call to the JSON API does it.
Send an email from Rails.
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
address: "smtp.usenotix.dev",
port: 587,
user_name: "notix",
password: Rails.application.credentials.dig(:notix, :api_key),
authentication: "plain",
enable_starttls: true
}
config.action_mailer.default_options = { from: "receipts@acme.com" }
require "net/http"
require "json"
uri = URI("https://app.usenotix.dev/api/v1/emails")
request = Net::HTTP::Post.new(uri, {
"Authorization" => "Bearer #{Rails.application.credentials.dig(:notix, :api_key)}",
"Content-Type" => "application/json",
"Idempotency-Key" => "order-#{order.id}-receipt"
})
request.body = { from: "receipts@acme.com", to: order.email, subject: "Your receipt", html: "<p>Thanks.</p>" }.to_json
response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(request) }
The from address must be on a domain you have verified in Notix. Step by step: the SMTP quickstart and the longer guide to sending email from Rails.
The key in encrypted credentials.
Store the API key with bin/rails credentials:edit under notix: api_key, as both samples read it. It is the SMTP password and the API bearer token at once; there is no separate SMTP password.
Questions, answered.
Does Devise send through Notix?
Is there a Notix Ruby gem?
Why is my send refused with a from-address error?
Keep reading.
Send email from Rails
ActionMailer through the SMTP relay for password resets and Devise mail, or the JSON API for templates, plus a webhook controller with the raw body.
DocsSMTP
Send through the Notix SMTP relay from any app or framework that speaks SMTP.
IntegrationsIntegrations
Notix inside the frameworks, platforms and AI coding tools you already use, from Next.js and Laravel to Supabase, Vercel and Cursor.
ProductEmail API
One JSON API for transactional and marketing email: send, batch, schedule, webhooks, typed SDKs.
NotixPricing
A free plan with no card, and Pro at $15 a month for 50,000 emails. Only sent volume is metered.
Send your first email in five minutes.
Verify a domain, copy an API key, make one call. The free plan does not ask for a card.