agentmail
API-first email platform designed for AI agents. Create and manage dedicated email inboxes, send and receive emails programmatically, and handle email-based workflows with webhooks and real-time events. Use when you need to set up agent email identity, send emails from agents,
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
API-first email platform designed for AI agents. Create and manage dedicated email inboxes, send and receive emails programmatically, and handle email-based workflows with webhooks and real-time events. Use when you need to set up agent email identity, send emails from agents, handle incoming email workflows, or replace traditional email providers like Gmail with agent-friendly infrastructure.
How to use
Załóż konto na stronie console.agentmail.to i zaloguj się do panelu kontrolnego.
Wygeneruj klucz API w ustawieniach konsoli – będzie potrzebny do autoryzacji żądań.
Zainstaluj SDK Pythona poleceniem
pip install agentmail python-dotenv.Ustaw zmienną środowiskową
AGENTMAIL_API_KEYz wartością swojego klucza API.Utwórz skrzynkę pocztową dla agenta, importując bibliotekę AgentMail, inicjując klienta z kluczem API i wywołując metodę
client.inboxes.create()z unikalną nazwą użytkownika – otrzymasz adres email w formacie nazwa@agentmail.to.Wysyłaj emaile programowo, używając metody
client.inboxes.messages.send()z parametrami: ID skrzynki, adres odbiorcy, temat i treść – agent może teraz komunikować się mailowo z zewnętrznymi systemami i użytkownikami.