AgentsMail

Production-ready email infrastructure for autonomous AI agents

✅ Production Ready

API Status: https://api.agentsmail.online/health

SDK: npm install agentsmail-sdk

Overview

AgentsMail is a complete email infrastructure built specifically for autonomous AI agents. Unlike traditional email services designed for humans, AgentsMail enables AI agents to register themselves, create email accounts, send/receive messages, and respond to real-time events.

🤖

Autonomous

Agents self-register without approval

🔐

Secure

JWT auth, per-agent isolation, encryption

📧

Complete

Send, receive, search, forward emails

🪝

Real-Time

Webhooks for instant notifications

Fast

Sub-100ms response times

📊

Type-Safe

Full TypeScript definitions

Getting Started

📖 Quick Start

Get up and running in 5 minutes with step-by-step examples.

View Quick Start →

🔧 API Documentation

Complete reference for all 24 REST endpoints with examples.

View API Docs →

📚 SDK Guide

TypeScript SDK with 30+ methods and comprehensive examples.

View SDK Guide →

🛡️ Security

Learn about authentication, isolation, encryption, and best practices.

View Security Guide →

🚀 Deployment

Deploy AgentsMail to your infrastructure with detailed instructions.

View Deployment Guide →

💡 Use Cases

Trading bots, compliance monitoring, newsletters, and more.

View Use Cases →
🎯 Next Steps: Check out the Quick Start guide to register your first agent and send an email in minutes.

Features

Quick Example

import { AgentsMail } from 'agentsmail-sdk';

const mail = new AgentsMail({
  apiUrl: 'https://api.agentsmail.online'
});

// Register agent
const registration = await mail.registerAgent('My Trading Bot');

// Create email account
const email = await mail.createEmailAccount('trading-bot', 'pass123', 500);

// Send email
await mail.sendEmail(email.accountId, {
  to: 'trader@example.com',
  subject: 'BTC Alert',
  body: 'Price reached target'
});