Handle incoming emails faster with AI and a built in approval step. The system reads each message, finds answers from your company documents, drafts a short reply, and waits for a human to approve or suggest edits. It is ideal for shared support inboxes and busy teams.
First, documents in Google Drive are loaded, split into small parts, and embedded with OpenAI, then saved in a Qdrant collection. When a new email arrives through IMAP, the text is converted to clean markdown and summarized. An AI agent uses the Qdrant knowledge base to write a clear answer. A teammate gets the draft by Gmail and can reply with approval or feedback. A classifier checks the response. If approved, the message is sent by SMTP to the sender. If not, an Email Reviewer rewrites the text using the feedback and routes it again.
Replace QDRANTURL and COLLECTION, and use a Gmail address for the send and wait step. Expect faster replies, more consistent answers, and less manual typing. Great for customer questions, sales inquiries, and vendor emails where accuracy and tone matter.