Multi-Agent Email Assistant — CrewAI + MCP + Gmail + Google Calendar
Evolution of the previous project towards a more complete pipeline: replacement of AgentMail with native Gmail and Google Calendar integration, addition of vector storage on Qdrant for semantic search over emails, and implementation of a mechanism for automatically creating calendar events extracted from message content.
Four specialized agents with function tools were implemented: a Gmail Retrieval Agent that fetches emails through the Gmail API (OAuth2), extracting headers, body and labels; a Vector Storage Agent that generates embeddings and indexes them on Qdrant; a Calendar Integration Agent that analyzes email content, extracts temporal information and creates events via the Google Calendar API; and a Coordinator Agent, with delegation capabilities, that supervises the entire workflow.
The system also supports semantic search over the emails already indexed in Qdrant.