[ use case ]

AI Sales Outreach Agent

An AI agent that sends personalized cold email, monitors replies in real time, and follows up with context-aware responses — turning outreach into conversations.

The Problem

Cold email outreach is a numbers game, but it should not feel like one. Generic templates get ignored. Mail-merge tools can personalize a first name, but they cannot reference a prospect's recent blog post, understand their tech stack from a job listing, or adapt follow-up timing based on engagement signals.

Sales teams face a painful tradeoff: send personalized emails manually (high quality, low volume) or blast templates through an outreach platform (high volume, low quality). Neither approach scales well. Manual outreach limits pipeline, and templated blasts damage sender reputation and brand perception.

The bigger gap is what happens after the send. Most outreach tools are fire-and-forget. They can tell you an email was opened, but when a prospect replies with a question, a human SDR has to read it, understand the context, and craft a response. That handoff adds hours of latency — and in sales, response time is everything.

How an Agent Solves This

An AI sales agent combines the personalization of manual outreach with the scale of automation — and it handles the reply loop. The agent researches each prospect, crafts a tailored message, sends it, and monitors for replies. When a prospect responds, the agent reads the reply, determines the appropriate next step, and either continues the conversation or hands off to a human rep with full context.

  • Researches the prospect using public data — LinkedIn, company blog, job posts, funding news
  • Crafts a personalized first email that references something specific and relevant
  • Sends follow-ups on a smart schedule — adapting timing based on whether the prospect engaged
  • Handles initial replies: answers questions, sends case studies, suggests meeting times
  • Hands off warm leads to human reps with the full thread and a summary of the prospect's interest

For this to work, the agent needs more than a sending API. It needs a dedicated email address with a real inbox, the ability to receive and parse replies, and thread tracking to maintain conversation context across multiple exchanges.

How It Works with Robotomail

Robotomail gives your sales agent a real mailbox with full send and receive capability. Here is the workflow from first touch to booked meeting.

1. Send personalized outreach

Your agent sends each email through the Robotomail API. Every message gets proper DKIM signing, SPF alignment, and a real Reply-To address that routes back to the agent's mailbox. This is not a transactional send — it is a real email from a real inbox.

Send outreach email
# Agent sends a personalized outreach email
curl -X POST https://api.robotomail.com/v1/mailboxes/mbx_sales01/messages \
  -H "Authorization: Bearer rm_live_abc123" \
  -H "Content-Type: application/json" \
  -d '{
    "to": ["[email protected]"],
    "subject": "Quick question about TargetCo infra stack",
    "bodyText": "Hi Sarah, I noticed TargetCo recently migrated to Kubernetes. We help teams like yours cut CI/CD pipeline times by 40%. Would a 15-minute walkthrough be useful this week?",
    "bodyHtml": "<p>Hi Sarah, I noticed TargetCo recently migrated to Kubernetes...</p>"
  }'

# Response
{
  "id": "msg_3n7k2x",
  "threadId": "thr_5m9p1q",
  "status": "sent",
  "sentAt": "2026-03-22T09:00:00Z"
}

2. Receive replies in real time

When a prospect replies, Robotomail delivers the message to your agent via webhook. The payload includes the full text, sender info, and the threadId so your agent immediately knows which outreach sequence this reply belongs to.

Webhook reply payload
# Robotomail delivers the reply via webhook
{
  "event": "message.received",
  "data": {
    "id": "msg_8v4j6w",
    "mailboxId": "mbx_sales01",
    "from": { "email": "[email protected]", "name": "Sarah Chen" },
    "subject": "Re: Quick question about TargetCo infra stack",
    "text": "Interesting timing — we are actually evaluating CI tools right now. Can you send over a case study?",
    "threadId": "thr_5m9p1q",
    "receivedAt": "2026-03-22T10:15:00Z"
  }
}

3. Follow up with context

The agent reads the reply, determines the right response, and sends a follow-up in the same thread. It can also pull the full thread history from the API to build richer context for the LLM.

Follow up in-thread
# Agent follows up in the same thread
curl -X POST https://api.robotomail.com/v1/mailboxes/mbx_sales01/messages \
  -H "Authorization: Bearer rm_live_abc123" \
  -H "Content-Type: application/json" \
  -d '{
    "to": ["[email protected]"],
    "subject": "Re: Quick question about TargetCo infra stack",
    "inReplyTo": "<[email protected]>",
    "bodyText": "Great to hear, Sarah. Here is a case study from a team with a similar K8s setup: https://example.com/case-study. They cut deploy times from 18 minutes to 7. Happy to walk through the details — does Thursday at 2pm work?",
    "bodyHtml": "<p>Great to hear, Sarah. Here is a case study from a team with a similar K8s setup...</p>"
  }'

4. Access full thread history

Your agent can fetch the entire thread at any point to maintain context across long conversations — useful when handing off to a human rep.

Fetch thread history
# Pull the full thread history for context
curl https://api.robotomail.com/v1/mailboxes/mbx_sales01/threads/thr_5m9p1q \
  -H "Authorization: Bearer rm_live_abc123"

# Response
{
  "data": [
    {
      "id": "msg_3n7k2x",
      "direction": "outbound",
      "subject": "Quick question about TargetCo infra stack",
      "sentAt": "2026-03-22T09:00:00Z"
    },
    {
      "id": "msg_8v4j6w",
      "direction": "inbound",
      "subject": "Re: Quick question about TargetCo infra stack",
      "receivedAt": "2026-03-22T10:15:00Z"
    }
  ]
}

Key Benefits

  • Real mailbox, not a sending API. Your agent sends from a real inbox with a real address. Replies come back to the same mailbox, keeping conversations natural and deliverability high.
  • Instant reply handling. Webhooks deliver inbound replies in seconds. Your agent can respond while the prospect is still at their desk — a massive conversion advantage.
  • Thread-aware conversations. Every message includes a threadId. Your agent always knows the full conversation history, so follow-ups never feel disjointed.
  • Custom domain for trust. Send from your company domain with verified DKIM and SPF. Prospects see a professional sender, not a generic platform address.
  • Daily send limits protect reputation. Robotomail enforces per-mailbox send limits (1,000/day on paid plans) so your agent cannot accidentally blast your domain reputation into the ground.

Read the API documentation for details on threading, webhooks, and domain setup. Learn more in our launch post, or sign up free to start building your sales agent today.

Ready to build this?

Free tier includes a platform mailbox, 50 sends per day, and webhook delivery. No credit card required.

Start building — free