langchain-email-agent
jawadsadiq01 द्वारा
Coding Agents & IDEsसंक्षिप्त
The `EmailAgent` class provides an AI-powered email composition and sending capability using LangChain.
विवरण
यह स्किल क्या करती है
An AI agent that composes and sends emails using LangChain with OpenAI's GPT model. Before any email is sent, a human-in-the-loop middleware step requires explicit approval, edit, or rejection.
The built-in approval gate prevents accidental sends, making it safer than fully autonomous email agents.
इसे कब इस्तेमाल करें
- Drafting outreach emails with tone instructions
- Sending meeting requests with AI-written copy
- Reviewing AI-composed emails before delivery
- Composing follow-up emails from minimal input
- Automating email drafts while keeping human oversight
उदाहरण वर्कफ़्लो
User asks: 'Send a formal meeting request to john@example.com'
- 1
Agent receives recipient email, name, subject, body, and instructions
- 2
GPT model composes a formal email based on the provided parameters
- 3
humanInTheLoopMiddleware intercepts before the EmailTool executes
- 4
User reviews the composed email and chooses to approve, edit, or reject
- 5
Agent sends the email if approved and returns the result
Confirmation string from the agent indicating the email was sent
आवश्यकताएँ
- OPENAI_API_KEY environment variable
- Email account credentials or SMTP configuration for the underlying email tool
इंस्टॉलेशन
clawhub install jawadsadiq01/langchain-email-agentCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।