OpenSend is open source.Star us on GitHub0
by
  • Features
  • Pricing
  • Self-host
  • AI
  • Docs
0Sign inGet started

Features

  • All features
  • Email API
  • Templates
  • Inbound
  • Webhooks
  • SMTP
  • Broadcasts
  • Audiences
  • Automations
  • Suppressions
  • Domains
  • API keys
  • Metrics
  • Logs

AI

  • Agents
  • Claude
  • Claude Code
  • Cursor
  • Codex
  • GitHub Copilot
  • Gemini CLI
  • v0
  • Bolt
  • Lovable
  • Replit
  • Ask anything

Docs

  • Getting started
  • Webhook guide
  • Sandbox
  • Template gallery
  • React Email
  • Changelog
  • API reference
  • SDK
  • CLI
  • MCP server

Help

  • Support
  • Status
  • Migrate from Resend

Company

  • About
  • Blog
  • Contact
  • Security

Self-host

  • Self-hosting
  • Source on GitHub
  • Nextmail
by
PricingTermsPrivacy
StatusChecking the API

© 2026 OpenSend. All rights reserved.

Company

Security you can check.

This page lists what the software does to keep an account and its mail safe. Each rule is in the source, where you can read it.

Get startedRead the docs
Sign in
Code sent
or
Works for
10 minutes
Guesses
5
Kept as
A hash
Password
None
POST/v1/auth/sign-in/email-otp
200
  • No passwords

    A code by email, Google or GitHub.

  • Keys kept as a hash

    A key is shown once, when it is made.

  • Signed deliveries

    Every webhook request carries a signature.

  • 4 roles, 30 scopes

    Each method needs exactly one scope.

Access

Who may do what.

A method needs one scope. A person holds the scopes of their role, and a key holds the scopes of its access level. The table is generated from the API's own list.

ScopeOwnerAdminMemberViewerFull keySending key
emails:sendSend an email or a batch, and move or cancel a scheduled email.
Yes
Yes
Yes
No
Yes
Yes
broadcasts:writeWrite, send and delete broadcasts.
Yes
Yes
Yes
No
Yes
No
audiences:writeAdd and delete audiences, and add, change and delete their contacts.
Yes
Yes
Yes
No
Yes
No
templates:writeWrite, publish and delete templates.
Yes
Yes
Yes
No
Yes
No
automations:writeWrite, publish, test, pause, resume and delete automations, enrol people and cancel runs.
Yes
Yes
Yes
No
Yes
No
domains:writeAdd, verify, change and delete domains.
Yes
Yes
No
No
Yes
No
api_keys:writeMake and revoke API keys.
Yes
Yes
No
No
Yes
No
webhooks:writeAdd, change, test and delete webhooks.
Yes
Yes
No
No
Yes
No
workspace:writeChange the workspace, its members and its plan.
Yes
Yes
No
No
Yes
No
suppressions:writePut an address on the suppression list, or take one off.
Yes
Yes
No
No
Yes
No
events:writeSend events, and define, change and delete them.
Yes
Yes
Yes
No
Yes
No
imports:writeLook into another account, start an import from it and cancel one.
Yes
Yes
No
No
Yes
No
images:writeCopy an image from its address, upload one, and delete one.
Yes
Yes
Yes
No
Yes
No

13 of 30 scopes. Owner, Admin, and Full key hold all 30.

  • Owner

    30 of 30 scopes, and the only role that can close the workspace.
  • Admin

    30 of 30 scopes: domains, keys, webhooks and people included.
  • Member

    24 of 30 scopes. Sends and edits, and cannot change domains, keys or webhooks.
  • Viewer

    17 of 30 scopes. Reads what a member reads and changes nothing.
Secrets

A secret is shown once.

A new key is in the answer that makes it, and no method returns it again. What is stored afterwards cannot be turned back into the key.

The key is in this answer. It is the only time the API shows it.

  • Keys: a SHA-256 hash

    The key itself is never stored, so nobody can read it back.

  • Sign-in codes: a hash

    A code works once, for 10 minutes and 5 guesses.

  • Sealed with AES-GCM

    The workspace's key to Nextmail and the key of an account you import from are encrypted with a 256-bit key before they are stored.

  • Signing secrets: once

    A webhook's secret is in the answer that makes the endpoint, and in no later one.

Webhooks

Every delivery is signed.

A request to your endpoint carries a signature made with that endpoint's secret. One call of the SDK checks it, and refuses a signature older than 5 minutes.

More on webhooks
  • HMAC-SHA-256, in one header

    Made over the time and the body, and sent as opensend-signature.

  • Public https addresses only

    An IP address, localhost and a private name are refused.

  • No redirects

    A redirect is never followed. It counts as a failed attempt.

Check a delivery before you trust it
import { OPENSEND_SIGNATURE_HEADER, OpenSendError, verifyWebhook } from '@open-send/opensend' export default {  async fetch(request: Request): Promise<Response> {    const payload = await request.text()    try {      const event = await verifyWebhook({        payload,        signature: request.headers.get(OPENSEND_SIGNATURE_HEADER),        secret: process.env.WEBHOOK_SECRET ?? '',      })      if (event.type === 'email.bounced') {        console.log(event.data.emailId, event.data.detail)      }      return new Response('ok')    } catch (error) {      if (error instanceof OpenSendError) return new Response(error.message, { status: 400 })      throw error    }  },}
People only

What no program can do.

Whatever a person does in the dashboard, a key can do too, with one exception made on purpose. Closing a workspace takes its owner, signed in, typing its name.

  • Its owner, signed in

    No other role can close a workspace.

  • Refused to every key

    Whatever its access, so a leaked key cannot close one.

  • Not a tool

    No agent is offered it, and neither is the assistant.

  • The assistant asks first

    It runs reads by itself. A change waits for your confirmation.

Close this workspace
Owner only
Typeto confirm
With a keyDELETE/v1/workspace
403
forbidden
How the assistant asks
Check it

Every rule, and the file that holds it.

Do not take this page's word for it. The API, the dashboard and the MCP server are in one repository, and each rule below names the file it is written in.

Read the sourceReport a problemHost it yourself
Rules and the files they are written in
RuleWritten inMore
An API key is stored as a SHA-256 hash and shown once.apps/api/src/lib/dashboard/api-keys.tsAPI keys
A sign-in code has 6 digits, works for 10 minutes and allows 5 guesses.apps/api/src/lib/dashboard/auth.ts
New codes stop at 5 for one address and 20 from one network in 15 minutes.apps/api/src/lib/dashboard/auth-throttle.ts
Only a verified address makes or joins an account.apps/api/src/lib/dashboard/auth.ts
A signed-in request that changes something must come from the app's own origin.apps/api/src/routes/dashboard-group.ts
The workspace's key to Nextmail and an imported account's key are sealed with AES-GCM.apps/api/src/lib/dashboard/seal.ts
A webhook address must be a public https host.apps/api/src/lib/dashboard/public-address.tsWebhooks
Every webhook delivery is signed with its endpoint's secret.apps/api/src/lib/dashboard/webhook-delivery.tsWebhooks
Only its owner, signed in, closes a workspace.apps/api/src/lib/dashboard/workspace-close.ts
Every request a key makes is logged with the key and, when it failed, the error.apps/api/src/routes/dashboard-group.tsLogs
Rule
An API key is stored as a SHA-256 hash and shown once.
Written in
apps/api/src/lib/dashboard/api-keys.ts
More
API keys
Rule
A sign-in code has 6 digits, works for 10 minutes and allows 5 guesses.
Written in
apps/api/src/lib/dashboard/auth.ts
More
Rule
New codes stop at 5 for one address and 20 from one network in 15 minutes.
Written in
apps/api/src/lib/dashboard/auth-throttle.ts
More
Rule
Only a verified address makes or joins an account.
Written in
apps/api/src/lib/dashboard/auth.ts
More
Rule
A signed-in request that changes something must come from the app's own origin.
Written in
apps/api/src/routes/dashboard-group.ts
More
Rule
The workspace's key to Nextmail and an imported account's key are sealed with AES-GCM.
Written in
apps/api/src/lib/dashboard/seal.ts
More
Rule
A webhook address must be a public https host.
Written in
apps/api/src/lib/dashboard/public-address.ts
More
Webhooks
Rule
Every webhook delivery is signed with its endpoint's secret.
Written in
apps/api/src/lib/dashboard/webhook-delivery.ts
More
Webhooks
Rule
Only its owner, signed in, closes a workspace.
Written in
apps/api/src/lib/dashboard/workspace-close.ts
More
Rule
Every request a key makes is logged with the key and, when it failed, the error.
Written in
apps/api/src/routes/dashboard-group.ts
More
Logs
Questions

Before you trust it.

Plain answers about safety.

No. There is no certificate and no audit report to show you, and the hosted service is not open yet. What you can check is the code: each rule on this page names the file it is written in.

On our cloud, in one Cloudflare D1 database, which the API reads and writes. When you host OpenSend yourself, it is a SQLite file in one folder on your own server. An email you send is handed to Nextmail to be delivered.

No. You sign in with a code sent to your address, or with Google or GitHub. The code is stored as a hash, works once and stops after 5 guesses.

What its access allows, until you revoke it. A sending key sends email, reads the method list and reads its own account. No key can close a workspace, and every request a key made is in the logs with the id of that key.

Remove them from the workspace. Membership is read on every request, so their access ends with their next one. A key acts for the workspace and not for a person, so revoke the keys they had.

With the contact form, under the topic Security. It reaches the team and nobody else, so include what we need to see the problem. Keep the details out of a public issue.

More in Company

  • AboutWhat it is, and what its code holds itself to.
  • BlogNotes from the team: decisions, numbers and what shipped.
  • ContactWrite to the team with a form.

Send your first email in a few minutes.

Create a key and send, or clone the repository and run it yourself.

Get startedStar on GitHub0