🤖 AGENT-FIRST INFRASTRUCTURE

Email Infrastructure
for the

Agentic Future

The only email service built for both humans AND AI agents. Claude, GPT, and custom agents get first-class email capabilities with zero configuration.

MCP Native
Bidirectional Conversations
Programmatic Sending
Zero Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "mailiam": {
      "command": "npx",
      "args": ["-y", "@mailiam/mcp-server"],
      "env": {
        "MAILIAM_API_KEY": "mlm_sk_..."
      }
    }
  }
}
That's it. Claude now has email capabilities.
🤖 AGENT-FIRST INFRASTRUCTURE

Email Infrastructure for
The Agentic Future

The only email service built for both humans AND AI agents. Claude, GPT, and custom agents get first-class email capabilities with zero configuration.

🤖

AI Assistant Email

Claude, GPT, and custom agents can send emails on behalf of users with proper sender identity

  • MCP server integration
  • Programmatic email sending
  • Automated responses
  • Workflow notifications
  • SRS-enabled replies
// Claude MCP Tool
{
  "action": "send_email",
  "to": "customer@example.com",
  "from": "support@mycompany.com",
  "subject": "Follow-up",
  "body": "..."
}
📨

Receive & Process Email

Agents can receive forwarded emails, parse content, and take action automatically

  • Inbox monitoring via API
  • Email parsing & extraction
  • Intent classification
  • Auto-categorization
  • Smart routing
// Agent reads email
const email = await mailiam.getEmail(id);
// Extract intent
const intent = await ai.classify(email.body);
// Take action
if (intent === 'support') {
  await mailiam.send({
    to: email.from,
    template: 'support-ack'
  });
}
🔄

Bidirectional Conversations

SRS magic enables agents to maintain full conversation threads with customers

  • Full conversation history
  • Thread preservation
  • Reply-to handling
  • Context maintenance
  • Multi-turn dialogues
// Customer emails support
→ Agent receives via webhook
→ Agent replies via API
← Customer sees from: support@company.com
← Customer replies naturally
→ Agent maintains full thread context
⚡

Zero-Config Integration

Add email capabilities to any AI agent in minutes, not hours

  • Simple API endpoints
  • RESTful interface
  • Webhook support
  • API key authentication
  • Domain verification
// Add to any agent
const response = await fetch(
  'https://api.mailiam.dev/v1/myapp.com/send',
  {
    method: 'POST',
    headers: {
      'X-Api-Key': process.env.MAILIAM_KEY
    },
    body: JSON.stringify({
      to: user.email,
      subject: 'AI Generated Summary',
      html: aiGeneratedContent
    })
  }
);
🔌

MCP Server Integration

First-class support for Model Context Protocol - AI agents get native email capabilities

What You Get

  • Send emails via MCP tools
  • Receive emails via MCP resources
  • Query sent/received history
  • Manage conversation threads
  • Full SRS reply support

Configuration

claude_desktop_config.json
{
  "mcpServers": {
    "mailiam": {
      "command": "npx",
      "args": ["-y", "@mailiam/mcp-server"],
      "env": {
        "MAILIAM_API_KEY": "mlm_sk_..."
      }
    }
  }
}

Complete Agent Email Workflow

1
đŸ’Ŧ

User Triggers Agent

Customer sends request via chat, API, or email

2
🧠

Agent Processes

AI understands intent, gathers information, formulates response

3
📧

Agent Sends Email

Uses mailiam API to send professional email from your domain

4
â†Šī¸

Customer Replies

Receives professional branded email, replies naturally

5
🔄

Full Loop

Agent receives reply via webhook, continues conversation

🎭

Professional Identity

Agents send from your domain, not generic addresses. Customers trust branded email.

🔒

Secure & Compliant

SPF, DKIM, DMARC verification. Rate limiting. API key security. Enterprise-ready.

⚡

Zero Configuration

One API key, instant setup. No SMTP servers, no DNS headaches, no maintenance.

Real-World Agent Use Cases

See how developers are using mailiam to power agentic workflows

đŸ’ŧ

Sales Follow-Up Agent

AI agent monitors inbound leads, classifies intent, and sends personalized follow-ups from your sales team's email addresses.

✓ Receives leads via webhook
✓ Classifies intent with AI
✓ Sends from sales@company.com
✓ Handles replies with full context
đŸŽ¯

Customer Support Agent

AI triages support emails, handles common questions automatically, and escalates complex issues to humans.

✓ Monitors support@company.com
✓ Auto-responds to FAQ questions
✓ Maintains conversation threads
✓ Escalates when needed
📊

Report Automation Agent

AI generates and emails weekly reports, analytics summaries, and alerts with professional sender addresses.

✓ Scheduled report generation
✓ Sends from reports@company.com
✓ Handles "unsubscribe" replies
✓ Professional branded emails

Simple, Powerful API

RESTful endpoints for sending and receiving email programmatically

📤 Send Email

POST /v1/{domain}/send
const response = await fetch(
  'https://api.mailiam.dev/v1/myapp.com/send',
  {
    method: 'POST',
    headers: {
      'X-Api-Key': process.env.MAILIAM_KEY
    },
    body: JSON.stringify({
      to: 'user@example.com',
      from: 'agent@myapp.com',
      subject: 'AI Generated Summary',
      html: '<p>Your weekly report...</p>'
    })
  }
);

đŸ“Ĩ Receive via Webhook

POST https://yourapp.com/webhook
// mailiam forwards inbound email
{
  "from": "customer@example.com",
  "to": "support@myapp.com",
  "subject": "Help with setup",
  "body": "I need assistance...",
  "html": "<p>I need assistance...</p>",
  "headers": {...},
  "threadId": "thread_abc123"
}

Give Your Agents Email Superpowers

Professional email infrastructure for the agentic future. MCP native, zero configuration, production-ready.

Free forever plan â€ĸ No credit card required â€ĸ Full MCP integration included