DeInbox ๐งน๐ฌ
Link to heading
DeInbox is a privacy-focused, smart Gmail inbox cleaner that helps you take control of your cluttered inbox. From bulk deletion and one-click unsubscription to intelligent cleanup recommendations, DeInbox simplifies email management for a healthier digital life.
โจ Features Link to heading
๐ Secure Gmail Integration Link to heading
- OAuth 2.0-based Google Sign-In
- Gmail API integration with read/delete/manage access
- Token refresh handling
๐ฅ Inbox Management Link to heading
- View inbox metrics (total, unread, categories, sizes)
- Filter emails by:
- Age (e.g., older than 1 year)
- Category (Promotions, Social, Forums, Updates)
- Attachment size
- Sender frequency
- Bulk delete/archive selected emails
๐ค Unsubscribe Assistant Link to heading
- Detect newsletters and mailing lists
- One-click unsubscribe using
List-Unsubscribe
headers
๐ง Smart Cleanup (Coming Soon) Link to heading
- AI-based suggestions on emails to delete
- Personalized cleanup rules (e.g., “Auto-delete XYZ after 3 months”)
- Interaction-based prioritization
๐ก๏ธ Privacy & Security Link to heading
- GDPR & CCPA-compliant
- No email data stored beyond session tokens
- Full data deletion and export options
๐งช Tech Stack Link to heading
- Frontend: Next.js + Tailwind CSS
- Backend: Node.js (Express)
- Authentication: Google OAuth 2.0
- APIs: Gmail REST API
- Database: MongoDB
๐ Getting Started Link to heading
1. Clone the repo Link to heading
git clone https://github.com/yourusername/deinbox.git
cd deinbox
2. Create a Google Cloud OAuth App Link to heading
- Go to Google Cloud Console
- Create a new project
- Enable Gmail API
- Create OAuth credentials
- Set your authorized redirect URIs
Copy your CLIENT_ID
and CLIENT_SECRET
.
3. Set up environment variables Link to heading
Create a .env
file in the root directory:
CLIENT_ID=your-google-oauth-client-id
CLIENT_SECRET=your-google-oauth-client-secret
REDIRECT_URI=http://localhost:3000/auth/callback
SESSION_SECRET=some_random_string
4. Install Dependencies Link to heading
npm install
5. Start the App Link to heading
npm run dev
๐งญ Roadmap Link to heading
- ๐ Phase 1: Authentication & Setup (Priority: High)
- ๐ฅ Phase 2: Email Fetching & Filtering (Priority: High)
- ๐งน Phase 3: Bulk Actions (Priority: High)
- ๐ค Phase 4: Unsubscribe Assistant (Priority: Medium)
- ๐ง Phase 5: Smart Cleanup Suggestions (Priority: Low for MVP)
- ๐ Phase 6: UI/UX & Infrastructure (Priority: Medium)
- ๐งพ Phase 7: Final Touches & Compliance (Priority: Medium)
๐ค Contributing Link to heading
Contributions, feature requests, and bug reports are welcome!
- Fork the repository
- Create a new branch (
git checkout -b feature-xyz
) - Commit your changes (
git commit -m 'Add new feature'
) - Push to the branch (
git push origin feature-xyz
) - Open a pull request
๐ License Link to heading
๐ฌ Contact Link to heading
Created by d093w1z Feel free to reach out at: [email protected]