← cd ../projects

Multi-Agent Email Assistant — CrewAI + MCP + AgentMail

CrewAIMCPOllamaLiteLLMMulti-Agent

Development of a multi-agent system for automatic email management, based on CrewAI with a sequential process. The system integrates an MCP Server (agentmail-mcp) as the communication layer with the AgentMail APIs, exposing the available tools to the agents through MCPServerAdapter.

The flow orchestrates two specialized agents: a Thread Retriever Agent, which fetches incoming mail threads from an AgentMail inbox, and an Email Sender Agent, which autonomously generates a contextually relevant reply and sends it through the reply_to_message tool.

Mistral Small 22B is used as the LLM backend, running locally through Ollama on the Kaggle platform and interfaced with CrewAI via LiteLLM.