Flow-Post is a broadcast email service designed to help users send emails efficiently by categorizing recipients into groups. Users can compose emails and send them to entire categories, avoiding repetitive email writing.
-
User Authentication ๐
- โ Sign up and email verification
- ๐ (Future) Two-factor authentication (2FA)
- ๐ (Future) Role-based access control (User/Admin)
- ๐ (Future) Admins can send unlimited emails via Stripe subscription
-
Recipient & Category Management ๐
- ๐ท๏ธ Create categories to organize recipients
- ๐ Add recipients (name, email, category assignment)
- ๐ข Categories function like WhatsApp broadcast lists
-
Email Composition & Sending โ๏ธ
- ๐ฉ Select categories to send emails to all recipients within them
- ๐ค Emails are sent via Gmail SMTP with OAuth authentication
- ๐ค Each user sends emails from their own Gmail account
-
Dashboard UI ๐ฅ๏ธ
- ๐ Sidebar with categories & recipients, inbox, and sent emails
- ๐ Email composer for drafting and sending emails
- ๐ฌ Sent Emails & Inbox (Upcoming feature)
- โ๏ธ Next.js - Framework for React-based UI development
- ๐จ ShadCN & Aceternity UI - For styling and UI components
- ๐ NextAuth.js - Authentication & session management
- ๐ Axios - API requests
- ๐๏ธ Node.js & Express - Backend framework
- ๐๏ธ MongoDB - Database for storing users, categories, and recipients
- ๐ง Nodemailer - SMTP email delivery
- ๐ฉ SendGrid - Alternative email delivery option
- Node.js (v18+)
- MongoDB (local or cloud-based like MongoDB Atlas)
- Gmail Developer OAuth Credentials (for SMTP authentication)
- Clone the repository:
git clone https://github.com/your-username/flow-post.git cd flow-post - Install dependencies:
npm install
- Set up environment variables in
.envfile:NEXTAUTH_SECRET=your_secret NEXTAUTH_URL=http://localhost:3000 MONGODB_URI=your_mongo_db_connection SMTP_HOST=smtp.gmail.com SMTP_PORT=465 SMTP_USER=your_gmail_address SMTP_PASS=your_gmail_app_password
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser.
- Deploy on Vercel
vercel deploy
- Deploy on Railway, Render, or DigitalOcean
npm run start
- ๐ Role-based authentication (User/Admin)
- ๐ Two-factor authentication (2FA)
- ๐ Stripe subscription for unlimited emails
- ๐ Inbox feature for receiving replies
- ๐ Enhanced email tracking (open/click analytics)
- ๐ AI-powered email generation
Contributions are welcome! Feel free to open issues and pull requests.
MIT License