DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to host isolated email for each customer on one deployment with Sentio

Stand up one Sentio deployment and mint separate tenants and API keys for each customer.

Short answer: Run docker compose up -d in the cloned Sentio directory; then Rotate the bootstrap admin key by minting a replacement with POST /v1/tenants/{id}/api-keys as the README describes; Delete the bootstrap key once the replacement works, using DELETE /v1/tenants/{id}/api-keys/{key-id}. All steps.

Authorization notice. Sentio is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Credentials. The admin key has wildcard scope and platform:admin, which reaches every tenant, so store replacement keys in a secret manager.

Who it is forA platform team running an agentic product or selling email as a feature, where each customer needs its own domains and inboxes.

The problemSeparate email systems per customer are costly to run, and shared ones risk mixing sending reputation and data.

The outcomeEach customer has its own tenant with isolated domains, mailboxes, API keys, rate limits and suppression lists on one deployment.

What you need first

  • Docker Engine 24+ with the Compose plugin, about 4 GB RAM and 8 GB disk, or a Linux host with PostgreSQL 18+, Redis or Valkey, NATS with JetStream, and S3-compatible storage
  • A terminal and curl
  • Rotation of the bootstrap admin API key before the host is reachable by anyone else

Steps

  1. Run docker compose up -d in the cloned Sentio directory.
  2. Rotate the bootstrap admin key by minting a replacement with POST /v1/tenants/{id}/api-keys as the README describes.
  3. Delete the bootstrap key once the replacement works, using DELETE /v1/tenants/{id}/api-keys/{key-id}. (inferred, check the README)
  4. List existing tenants with curl -H "Authorization: Bearer <admin-key>" localhost:8080/v1/tenants. (inferred, check the README)
  5. Create one tenant per customer and mint a scoped API key for each, following the API reference at /openapi.json. (inferred, check the README)

Prompt for your agent

Using the truespar/sentio repo running on localhost:8080, rotate the bootstrap admin key and create a tenant for <customer-name> with its own API key. Report the new tenant ID and confirm that GET /v1/tenants lists it. Verify that the bootstrap key no longer authenticates.

Caveat. Tenant creation calls shown in the README are limited to listing tenants and minting API keys, so confirm the create-tenant endpoint in /openapi.json before scripting it.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for truespar/sentio and "Host isolated email for each customer on one deployment"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer