A modern web application that helps you clean up your Microsoft Outlook inbox by showing message counts by sender and allowing you to delete messages in bulk. Built with React and Microsoft Graph API.
- 🔍 View message counts by sender
- 📅 Sort by email address, message count, or last received date
- 📧 View email subjects with dates
- 🗑️ Select multiple senders for bulk deletion
- 📋 Copy email addresses to clipboard
- ⛔ Block/unblock senders
- ⏱️ Progress tracking for deletion operations
- 🛑 Stop deletion process at any time
- 📊 Total message count display
- Node.js 14+ and npm
- A Microsoft personal account (Hotmail/Outlook)
-
Clone the repository:
git clone https://github.com/bsanders1979/inbox-cleaner.git cd inbox-cleaner -
Install dependencies:
cd frontend npm install -
Start the development server:
npm start
-
Open your browser and navigate to
http://localhost:3000
- Click "Sign in with Microsoft" to authenticate
- View the list of senders and their message counts
- Select one or more senders using:
- Individual checkboxes
- Click on rows
- Shift+click to select a range
- "Select All" checkbox in the header
- Click "Delete Selected" to remove messages from selected senders
- Use the "Stop" button to cancel an ongoing deletion process
- Click on an email address to view recent email subjects
- Use the block/unblock button to manage unwanted senders
The application requires the following Microsoft Graph API permissions:
Mail.Read- To read email messages and their propertiesMail.ReadWrite- To delete messages and manage message rules
These permissions are requested during the Microsoft authentication process.
- Uses Microsoft's authentication system
- No credentials are stored
- Access can be revoked at any time through your Microsoft account settings
- Uses Microsoft's default client ID for personal accounts
The application is built with:
- React
- Material-UI
- Microsoft Graph API
- Microsoft Authentication Library (MSAL)
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Microsoft Graph API for providing the email management capabilities
- Material-UI for the beautiful and responsive components
- React team for the amazing framework
