RavenRelayDocs
Dashboard ↗

Get started

Send your first email

Create a Test key and exercise the complete asynchronous flow without a verified domain or external delivery.

Before you start

RavenRelay handles queued sending, delivery events and signed webhooks through one API. To begin, you only need an account and a Test project.

Verify a domain for Live

  1. Skip this section while using a Test project. For Live, create or select a Live project.
  2. In Domains, add the exact domain you will send from, such as example.com.
  3. Publish the generated DKIM CNAME records and the MX and SPF records for raven.example.com.
  4. Refresh verification until the identity, DKIM and MAIL FROM are ready.

Subdomains are separate sending identities. Verifying example.com does not authorize hello@mail.example.com. DMARC is detected separately and does not require an enforcement policy.

Create an API key

In API Keys, create a key for the selected Test project. Save the secret when it is shown; you cannot retrieve it later. Test projects issue rr_test_ keys. Store the key only in your application server's environment.

Server environment
RAVENRELAY_API_KEY=your_test_api_key

Submit a message

cURL
curl https://api.getravenrelay.com/v1/emails \  -H "Authorization: Bearer $RAVENRELAY_API_KEY" \  -H 'Content-Type: application/json' \  -H 'Idempotency-Key: welcome-user-123' \  -d '{    "from": "hello@example.com",    "to": ["user@example.com"],    "subject": "Welcome",    "text": "Hello from RavenRelay"  }'
HTTP 202 · example response
{  "id": "your-email-id",  "status": "queued",  "test_mode": true}

HTTP 202 means the request has been stored for asynchronous processing. In Emails, open the returned ID to inspect its timeline. An ordinary Test request finishes as simulated and emits email.simulated; it never leaves RavenRelay.

Exercise delivery scenarios

Use one reserved address as the sole To, CC or BCC recipient to produce a deterministic outcome. Scenario messages remain simulated and do not create real suppressions or reputation signals.

Exercise delivery scenarios
RecipientOutcome
delivered@sandbox.getravenrelay.comDelivered
bounced@sandbox.getravenrelay.comHard bounced
complained@sandbox.getravenrelay.comComplained
delayed@sandbox.getravenrelay.comDelayed
suppressed@sandbox.getravenrelay.comSuppressed

Move to live sending

Use a production project and an rr_live_ key. A trusted operator must activate the workspace after reviewing the owner and use case. Your domain must be ready, and delivery provider account restrictions and quotas still apply.

Create your webhook before the first live send, then send one controlled message to an address you own. Sent means the delivery provider accepted it; delivered means the recipient's mail server accepted it, not that it reached the inbox.

RavenRelay documentation. Examples describe the current implementation.