For the complete site index, see llms.txt. Docs index: llms-docs.txt. Marketing corpus: llms-full.txt. Docs corpus: llms-full-docs.txt. Prefer markdown URLs where available (append .md).. Product skill: skill.md. Pricing: pricing.md. Docs MCP: /docs/mcp. Site MCP: /mcp.

[Ruby SDK]

Ruby on Rails

Ship password resets and receipts from Rails controllers and Active Job with the Ruby gem.

1

Install the Ruby package

bash
gem install reloop-email
2

Send email from Ruby on Rails

send_email.rb
1require 'reloop'
2
3class EmailsController < ApplicationController
4 def create
5 Reloop.api_key = ENV['RELOOP_API_KEY']
6
7 email = Reloop::Emails.send(
8 from: 'Acme <onboarding@yourdomain.com>',
9 to: [params[:to]],
10 subject: 'Hello from Rails',
11 html: '<strong>It works!</strong>'
12 )
13
14 render json: { id: email[:id] }
15 end
16end
3

GitHub, examples, and API reference

4

Need more help?

Send with Ruby on Rails.

Get an API key and ship transactional email from Ruby on Rails using the official Ruby SDK.

Reloop