A modern email generation platform that leverages Groq LLM for AI-powered email content creation. Built with Next.js 14, TypeScript, and Tailwind CSS.
- 📧 AI-powered email content generation using Groq LLM
- 📝 Rich text editor for content customization
- 👥 Multiple recipient support
- 🚀 Real-time email preview
- 🎨 Clean, modern UI with Tailwind CSS
- 🌐 Responsive design
- ⚡ Server-side email handling with Nodemailer
- 🔔 Toast notifications for user feedback
- Next.js 14 - React framework
- TypeScript - Type safety
- Tailwind CSS - Styling
- shadcn/ui - UI components
- Tiptap - Rich text editor
- Groq - LLM API for email generation
- Nodemailer - Email sending
- Sonner - Toast notifications
Before you begin, ensure you have:
- Node.js 18+ installed
- Groq API key
- SMTP server credentials
- Clone the repository:
git clone https://github.com/subho004/mailAI
cd mailAI
- Install dependencies:
npm install
- Set up environment variables: Create a .env.local file in the root directory:
GROQ_API_KEY=your_groq_api_key
SMTP_HOST=your_smtp_host
SMTP_PORT=587
SMTP_USER=your_smtp_username
SMTP_PASSWORD=your_smtp_password
SMTP_FROM_EMAIL=your_from_email
SMTP_FROM_NAME=Your Company Name
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser.
- Groq for their powerful LLM API
- shadcn/ui for the beautiful UI components
- Tiptap for the rich text editor
- Vercel for hosting inspiration