AI-powered email marketing for developers - CLI-first email campaigns with Claude
npm install @vibemail_app/vibemailAI-powered email marketing for developers. Build email campaigns with natural language - powered by Claude AI.
``bashInstall globally
npm install -g vibemail
Usage
$3
- Login to vibemail.com
- Go to Settings ā API Keys
- Create a new API key$3
`bash
export VIBEMAIL_API_KEY="vb_your-api-key-here"
`$3
`bash
vibemail create "welcome email series for new SaaS users"
`$3
`bash
Use local dev server (no API key needed)
VIBEMAIL_API_URL=http://localhost:3000 vibemail create "your campaign"
`Features
- š¤ Natural language campaign creation
- š§ Multi-email sequences
- šÆ Smart audience targeting
- š Analytics and tracking
- š One-command deployment
Web App
Visit vibemail.com for the full web experience.
Development Setup
`
vibemail-app/
āāā app/ # Next.js App Router
ā āāā api/ # API endpoints
ā āāā auth/ # Authentication pages
ā āāā dashboard/ # Dashboard pages
ā āāā page.tsx # Landing page
āāā components/ # React components
āāā emails/ # React Email templates
āāā lib/ # Core business logic
ā āāā ai/ # Claude AI integration
ā āāā email/ # Email sending logic
ā āāā stripe/ # Payment processing
ā āāā supabase/ # Database client
āāā supabase/ # Database migrations
`$3
`bash
Install dependencies
npm installRun development server
npm run devBuild for production
npm run buildStart production server
npm startRun linter
npm run lint
`$3
Create a
.env.local file with:
`
ANTHROPIC_API_KEY=your-key
DATABASE_URL=your-neon-db-url
CLERK_SECRET_KEY=your-clerk-key
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your-clerk-pub-key
MAILGUN_API_KEY=your-mailgun-key
`š Architecture
- Authentication: Clerk for user management
- Database: Neon (Postgres) with Drizzle ORM
- AI: Claude API for campaign generation
- Email: Mailgun for sending and tracking
- Hosting: Vercel for web app and API
š API Endpoints
-
POST /api/v2/campaigns/generate - Generate AI campaign
- POST /api/v2/campaigns/deploy - Deploy campaign
- POST /api/webhooks/mailgun - Email event tracking
- GET /api/analytics` - Campaign analyticsSee vibemail.com/docs for complete documentation.
MIT