Authorization notice. Apowerb is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Credentials. The agent needs access to a mailbox and a CRM, so the account grants should be limited to what triage needs.
Who it is forA customer support or sales lead whose inbox fills faster than the team can sort it, and who wants drafts ready before a person reads each message.
The problemEach incoming message needs reading, sorting, a customer lookup and a first reply, all done by hand.
The outcomeEach new message gets a classification, a CRM lookup and a draft reply, with a session trace for review.
What you need first
- Docker and Docker Compose
- An API key from a supported model provider such as Anthropic, OpenAI, Mistral, Gemini, Azure AI Foundry or OVHcloud, or any other LiteLLM provider
- Accounts for the business systems you want to connect, such as Gmail, Outlook, HubSpot, Pipedrive or Odoo
Steps
- Start the stack from the quick start:
docker compose -f docker-compose/docker-compose.yml --env-file .env up -d - In the web interface, define an agent with instructions, a model and the tools it needs.
- Connect the Gmail or Outlook account that will trigger the agent, following the Webhooks section of the docs. (inferred, check the README)
- Add a CRM tool such as HubSpot or Pipedrive so the agent can look up the sender.
- Send a test message and open its session trace to check the classification and the draft.
Prompt for your agent
Using the apowerb repo at https://github.com/apowerb/apowerb, build an inbox triage agent that is triggered by new messages in <target mailbox>. Expected output: for each message, a category, a CRM lookup result and a draft reply. Verify the session trace records each run before trusting the drafts.
Caveat. Gmail and Outlook triggers depend on webhook callbacks reaching PUBLIC_BASE_URL, which must be a public address for a real mailbox to reach the server.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for apowerb/apowerb and "Triage new Gmail or Outlook messages with an agent"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer