A simple web app to delete emails from specific senders in your Gmail inbox.
npm install- Go to Google Cloud Console
- Create a project and enable the Gmail API
- Configure OAuth consent screen:
- Choose "External"
- Add your Gmail address as a test user
- Create OAuth credentials:
- Go to "Credentials" > "Create Credentials" > "OAuth client ID"
- Choose "Web application"
- Set redirect URI to
http://localhost:3000/api/auth/google/callback
- Download the JSON and save it as
credentials.jsonin the project root
npm run devThis starts both the backend (port 3000) and frontend (port 5173).
- Open http://localhost:5173
- Login with Google
- Enter sender email addresses (one per line or comma-separated)
- Click "Delete All Emails from These Senders"
Deleted emails cannot be recovered. Use with caution.
MIT