Aller au contenu
TakoAPI
Retour aux skills

langchain-email-agent

par jawadsadiq01

Coding Agents & IDEs
730Téléchargements rapportés par clawskills.sh
3Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

The `EmailAgent` class provides an AI-powered email composition and sending capability using LangChain.

Description

Ce que fait ce skill

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.

Quand l'utiliser

  • 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

Exemple de workflow

ENTRÉE

User asks: 'Send a formal meeting request to john@example.com'

AGENT
  1. 1

    Agent receives recipient email, name, subject, body, and instructions

  2. 2

    GPT model composes a formal email based on the provided parameters

  3. 3

    humanInTheLoopMiddleware intercepts before the EmailTool executes

  4. 4

    User reviews the composed email and chooses to approve, edit, or reject

  5. 5

    Agent sends the email if approved and returns the result

SORTIE

Confirmation string from the agent indicating the email was sent

Prérequis

  • OPENAI_API_KEY environment variable
  • Email account credentials or SMTP configuration for the underlying email tool

Installation

clawhub install jawadsadiq01/langchain-email-agent

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens