Smart AI-powered email management and automation
Kaine is an intelligent email assistant that helps you compose, draft, and manage emails with the power of AI. Built with modern web technologies, Kaine streamlines your email workflow by generating contextually relevant drafts, suggesting improvements, and automating repetitive email tasks.
- π€ AI-Powered Email Drafting - Generate professional email drafts instantly
- β¨ Smart Suggestions - Get AI-powered improvements for your emails
- π§ Email Management - Organize and track your emails efficiently
- π Secure Authentication - Built with Supabase for secure user management
- π Analytics Dashboard - Track your email productivity and time saved
- π¨ Modern UI - Clean, intuitive interface built with shadcn/ui
- Framework: Next.js 16 (App Router with Turbopack)
- Language: TypeScript
- Styling: Tailwind CSS 4
- UI Components: shadcn/ui (Radix UI primitives)
- Authentication: Supabase Auth
- Database: Supabase (PostgreSQL)
- AI: Anthropic Claude Code API
- Deployment: Vercel
- Started with an idea of why waste time replying to this email why not make a automation to this so i rapidly prototype the UI and core components
- Generated the base project structure with Next.js 16 and shadcn/ui
- Designed the landing page with modern animations and interactive elements
- Integrated Supabase for authentication and database
- Set up user authentication flows (signup/login)
- Created database schema for emails, drafts, and analytics
- Integrated Anthropic's Claude API for email generation
- Built AI suggestion panel for real-time email improvements
- Implemented context-aware drafting based on email subject and body
- Configured Next.js 16 with proper middleware β proxy migration
- Set up Vercel deployment with automatic GitHub sync
- Resolved Suspense boundary issues for client-side rendering
- Optimized build configuration and removed node_modules from git
- Added custom branding with Kaine logo and metadata
- Implemented responsive design for mobile and desktop
- Set up analytics tracking for user engagement
- Node.js 18+
- npm or pnpm
- Supabase account
- Anthropic API key
- Clone the repository:
git clone https://github.com/EunjiTan/Kaine.git
cd Kaine- Install dependencies:
npm install- Set up environment variables:
Create a
.env.localfile with:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
ANTHROPIC_API_KEY=your_anthropic_api_key- Run the development server:
npm run devThis project is deployed on Vercel and automatically syncs with the GitHub repository.
Live URL: [https://kainee.vercel.app]
Kaine/
βββ app/ # Next.js app router pages
β βββ auth/ # Authentication pages
β βββ protected/ # Protected routes (inbox, compose)
β βββ api/ # API routes
β βββ layout.tsx # Root layout
βββ components/ # React components
β βββ ui/ # shadcn/ui components
β βββ auth/ # Auth components
β βββ email/ # Email-specific components
βββ lib/ # Utility functions
β βββ supabase/ # Supabase client & middleware
βββ public/ # Static assets
βββ proxy.ts # Next.js proxy (middleware)
- Uses Claude API to generate contextually relevant email drafts
- Analyzes subject line and initial body text to create appropriate responses
- Supports multiple drafts with regeneration capability
- Real-time inbox synchronization
- Draft saving and editing
- Email analytics tracking
- Secure signup/login with Supabase
- Protected routes with middleware
- Session management
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.
Made with π by [EunjiTan]
