Next.js Inbox Agent Template

An autonomous email inbox agent template with Google sign-in, connection management, and scheduled task automation powered by ChatBotKit, Next.js, and shadcn/ui.

nextjs
app-router
template
2395

This template provides a focused starting point for building autonomous email workflow products on top of ChatBotKit. Users authenticate with Google, connect the personal secrets required by the configured bot, and then enable or disable a set of predefined inbox tasks from a clean dashboard.

The architecture separates connection setup from ongoing task management. The connections screen discovers the integrations required by the bot from the platform and handles OAuth-based verification flows. Once all required services are connected, the dashboard exposes scheduled tasks for drafting replies, categorising messages, and generating a daily digest.

Server actions keep platform credentials off the client, while NextAuth is used to map authenticated users to ChatBotKit contacts by email. The bot's real behaviour stays on the ChatBotKit platform, so you can evolve the agent's abilities, secret requirements, and automation logic without reworking the application shell.

This is the recommended starting point for products that want to turn inbox management into a supervised autonomous workflow rather than a manual chat experience.

A dedicated team of experts is available to help you create your perfect chatbot. Reach out via or chat for more information.