Next.js 15 + Tambo + Supabase + Resend

AI email assistant that renders the interface while it works

One conversation drives real tools and real UI: charts, cards, inbox summaries, email previews, and send/draft actions in the same thread.

Everything Built in This Project

Feature coverage mirrors the implemented tools, components, and data flows from the app.

Generative UI Components

AI picks and renders AnalyticsDashboard, Graph, DataCard, EmailPreview, EmailActions, and InboxSummaryCard in chat and canvas.

  • Component-first responses
  • Canvas + message rendering

Compose, Preview, Send

Ask naturally, preview the generated email, then send now or save as draft from action buttons.

  • Resend integration
  • One-click Send / Save Draft

Email Dashboard Analytics

Generate 7-day activity charts, category breakdown, top contacts, and quick email metrics on command.

  • Bar + pie chart data
  • Top contact activity

Inbox Summary + Receive Demo

Simulate receiving emails for demo and summarize recent inbox messages instantly in a dedicated summary card.

  • Received email simulation
  • Summary card output

Contacts + Templates

Manage contacts and reusable templates as selectable data cards, then reuse them in compose flows.

  • Duplicate-safe contact save
  • Template listing and reuse

Auth + Persistent Data

OTP auth with Supabase, plus stored sent/draft/received records and sidebar history views.

  • Session-protected app
  • Audit trail for emails

Product Flow

1

Ask in natural language

Users type intent, not commands.

2

AI runs registered tools

Email, contacts, templates, analytics, inbox.

3

AI chooses components

Previews, cards, charts, and action UIs are rendered.

4

Data stays persistent

Supabase stores drafts, sent items, received items, contacts, templates.

Prompt Starters

Directly based on the demo guide prompts used to trigger full component + tool flows.

Email dashboard

Show my email analytics dashboard with charts.

Inbox summary

Summarize my inbox and show recent emails.

Manage contacts

List my contacts as selectable cards.

Send email

Compose and send an email to my contact about project updates.

Ready to run the full demo?

Open chat, use the prompt chips, and watch components render in both thread and canvas.

Start Demo