Build · Custom UI
Put your own UI on your mail.
Render your components into named slots in the inbox app, back them with tools the assistant can call, show a card on the messages that matter — or skip our UI and build your own on the typed API.

Ask your agent.
“Add a panel beside each customer conversation showing their account, recent orders, and the actions our support team uses. Link it to our existing admin.”
What you get
An inbox view your team can work from without repeatedly opening the admin.
Your coding agent builds a view or plugin against your own systems, then you deploy it with Tinbox.
See how to wire it upThe problem
Every business reads its mail differently. The inbox UI never changes.
An order email should show the order. A customer thread should show their plan. A dashboard should show what this week's mail means. In a rented inbox, the screen is whatever the vendor ships.
In Tinbox the surface is yours: declarative slots, card ids, and agent tools you deploy as code, reviewable in a PR.
Tinbox lanes used
The parts, and where to read about each.
01UI slots
plugin.ui renders a component id into dashboard, contact-card, inbox-card, message-actions, or thread-actions.
Extend: Views02Agent tools
plugin.agentTools adds the query behind the view as a tool the assistant, MCP, and CLI share.
The data side03Message cards
A parser names a card id — order-card, otp-quick-copy, or your own — and the message renders it inline.
Rich cards05SDK
Build a separate front end entirely: tinbox/sdk exposes the manifest tools and the typed API.
SDK reference
The sketch
Short enough to read in one sitting.
A dashboard tile plus the agent tool behind it, in one plugin — then compose it into config.plugins and redeploy. Or build your own front end on the SDK.
// plugins/weekly-pulse.ts
import { definePlugin } from "tinbox/cf/plugin";
import { agenticSkill } from "tinbox/cf/skills";
import { z } from "zod";
export default function weeklyPulse() {
return definePlugin({
name: "weekly-pulse",
version: "1.0.0",
// The data side — a tool the assistant, MCP, and CLI can all call.
agentTools: [
agenticSkill({
id: "weekly-signups",
label: "Weekly signups",
description: "Count new audience signups in the last 7 days.",
inputSchema: z.object({ audienceId: z.string() }),
run: async ({ audienceId }, ctx) => {
// your query — return model-facing data
return { audienceId, added: 42, window: "7d" };
},
}),
],
// The UI side — render a component id into a named app slot.
ui: [
{
slot: "dashboard",
component: "info-note",
title: "Weekly pulse",
props: { body: "42 new signups this week. Ask the assistant for the breakdown." },
visibility: "ui",
},
],
});
}// Or build a whole front end of your own on the typed API.
import { Tinbox } from "tinbox/sdk";
const tinbox = new Tinbox({ host: "https://mail.acme.com", apiKey: process.env.TINBOX_API_KEY });
// Manifest tools as calls — the same ones the in-app assistant uses.
const hits = await tinbox.tools.searchEmails({ query: "invoice overdue", limit: 20 });
// And the sending API, for anything your UI sends.
await tinbox.emails.send({
from: "Acme <support@acme.dev>",
to: "ada@example.com",
subject: "Re: your invoice",
text: "Sorted — the corrected total is on your account now.",
});Or we build it for you
Want a custom UI built on your mail?
More recipes
- LinkedIn contact outreachTurn a list of your LinkedIn contacts into personal email drafts, then handle the replies in your inbox.
- Support deskA shared support@ with an agent that drafts every answer for your approval.
- TriageEvery message sorted, flagged, and summarized before anyone opens it.
- OutreachAgent-sourced, agent-drafted outreach — and every send approved.
- Platform onboardingCreate public brand profiles with a verified email, useful bio, and website link.
- Competitor digestSubscribe to chosen competitor newsletters and make a weekly source-linked brief.
Build it on mail you own.
Free to install and use, even commercially — the CLI, SDK, and worker ship in one npm package. Deploy Tinbox on your own Cloudflare account and start from the sketch above — or have us build it with you.