Automate the organization of your Outlook inbox using AI-powered rule suggestions and UiPath integration.
- Fetches emails and folders from Outlook using Microsoft Graph API
- Suggests new and improved rules for organizing emails
- Human-in-the-loop approval for rule suggestions
- Automatically creates folders and rules in Outlook
- Extensible and configurable via
pyproject.tomland environment variables
git clone https://github.com/your-org/uipath-langchain-python.git
cd uipath-langchain-python/samples/email-organizer-agentpython -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activateOr use pyproject.toml with pip:
pip install .- Copy
.env.exampleto.envand fill in your secrets (API keys, tokens, etc.) - Update
pyproject.tomlas needed ForOUTLOOK_CONNECTION_KEY=connection_key, follow this guide: UiPath Integration Service Connections
uipath run agent --file ./input.jsonTo approve the rules and commit them use:
uipath run agent true --resumeTo run the email-organizer-agent on the UiPath Cloud Platform, follow this guide: Ticket Classification Sample Deployment