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.

AI

Connect Lovable to your email.

OpenSend has an MCP server built in. Give Lovable the address and a key, and it can set up domains, templates and sending while it builds your app.

Get startedRead the docs

What to paste

Server address
https://api.opensend.sh/v1/mcp
Header
Authorization
Value
Bearer os_...
  • 119 tools

    Each one is a method of the API.

  • One address

    /v1/mcp, on your own API.

  • A key, no sign-in

    It goes in the Authorization header.

  • Plain JSON

    One request in, one answer out.

Set up

Three steps to the first tool call.

Make a key, give Lovable the address, and ask.

Prompts

Ask Lovable to do the work.

Each of these runs one tool. The name on a card is the tool Lovable calls.

  • domains_create

    Add updates.example.com and tell me which DNS records to publish.

    Returns the domain with its records.

    Add domain
  • emails_send

    Send a test email from hello@mail.example.com to me.

    Returns the id of the queued email.

    Send email
  • emails_list

    Which emails bounced this week?

    Returns the emails with that status.

    List emails
  • logs_list

    Show the API requests that failed today and what was wrong.

    Returns each failed request with its error.

    List logs
  • webhooks_create

    Post bounces and complaints to https://example.com/hooks/mail.

    Returns the webhook and its signing secret, once.

    Add webhook
  • contacts_create

    Add grace@example.com to the Beta testers audience.

    Returns the contact, in that audience.

    Add contact
In your app

The app it builds sends with one request.

Give the app a key of its own, kept as a secret on the server, and it sends through the REST API.

One request. The same call in cURL, TypeScript and the CLI, with its answer.

  • Keep the key on the server

    A key in browser code can be read by anyone who opens the page.

  • A sending key is enough

    It can send and nothing else, so a leaked one cannot read your contacts.

Control

The key decides what Lovable may do.

Lovable asks for its tools and gets the ones its key may use, and no others. A call the key may not make is refused.

  • Sending key

    Sees 8 of the 119 tools: enough to send.

  • One domain

    A sending key can be held to a single domain.

  • Revoke

    Remove the key and Lovable is cut off.

  • Logs

    Every tool call is listed with its name and its error.

Check a call before it runs
curl -X POST "$OPENSEND_API_URL/v1/mcp" \  -H "Authorization: Bearer $OPENSEND_API_KEY" \  -H "Content-Type: application/json" \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"domains_create","arguments":{"name":"updates.example.com"},"_meta":{"opensend/check":true}}}'
Good to know

What Lovable needs.

These steps follow the documentation of Lovable as it read on 28 Nov 2026. If a label has moved since, their page is right.

Lovable documentation
  • A public address

    Lovable calls the server from its own cloud, so your API needs a public https address. A localhost address only works for tools that run on your machine.

  • It stays in the chat

    A chat connector is personal and does not reach the app you publish. That app calls the REST API with a key of its own.

Questions

Questions.

What people ask before they connect Lovable.

No. The key is the credential. It goes in the Authorization header as a Bearer token, like on every other request, and there is no OAuth step.

Yes. Give it a key of its own. A sending key sees only the few tools a sender needs, and it can be held to one domain. A full key sees every tool.

In Logs. Every request a key makes is listed, and a tool call shows the name of the tool and, when it failed, the reason. Filter the list by the key you gave Lovable.

Yes. A tool call can be sent as a check. The server makes sure the key may use the tool and that the input is valid, runs nothing, and answers.

No. Closing a workspace is not a tool, so a mistake of a model cannot wipe one.

Yes, when your API has a public https address. Lovable calls it from its own cloud, so a localhost address does not work.

More in AI

  • AgentsEvery method of the API is a tool an agent can call.
  • ClaudeAdd the MCP server to Claude and it can send, look up and manage email for you.
  • Claude CodeAdd the MCP server to Claude Code and it can send, look up and manage email for you.
  • CursorAdd the MCP server to Cursor and it can send, look up and manage email for you.
  • CodexAdd the MCP server to Codex and it can send, look up and manage email for you.
  • GitHub CopilotAdd the MCP server to GitHub Copilot and it can send, look up and manage email for you.
  • Gemini CLIAdd the MCP server to Gemini CLI and it can send, look up and manage email for you.
  • v0Give v0 a key and the API reference, and the app it builds can send email.
  • BoltGive Bolt a key and the API reference, and the app it builds can send email.
  • ReplitGive Replit a key and the API reference, and the app it builds can send email.
  • MCP serverOne address to add. An agent gets a tool for every method.
  • Ask anythingThe console's own assistant. It asks before it changes anything.

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