Zero-config email via the AgentMail API. No IMAP/SMTP setup.
Copy
from praisonaiagents import Agentfrom praisonaiagents.tools import send_email, list_emails, read_emailagent = Agent( name="EmailAgent", instructions="You help send and manage emails.", tools=[send_email, list_emails, read_email])agent.start("Send an email to bob@example.com about tomorrow's meeting")
Use your own mailbox credentials — works with any email provider.
Copy
from praisonaiagents import Agentfrom praisonaiagents.tools import smtp_send_email, smtp_read_inboxagent = Agent( name="EmailAgent", instructions="You help send and manage emails.", tools=[smtp_send_email, smtp_read_inbox])agent.start("Send an email to bob@example.com about tomorrow's meeting")