Turn Happy Customers into Your Best Sales Channel

AI sends referral prompts at the perfect moment — right after positive interactions — with personalized referral links and reward tracking.


Why this matters

Referral programs underperform because customers are prompted at the wrong time or forget about the program after initial signup. Generic referral emails sent on arbitrary schedules feel transactional and get ignored. The customers most likely to refer are those who just had a great experience, but identifying and reaching them in that moment is impossible manually.


How MultiMail solves this

MultiMail's AI agent detects positive interaction signals — successful onboarding, support resolution, usage milestones — and sends personalized referral prompts at peak satisfaction moments. Autonomous mode ensures zero delay between the trigger event and the ask.

1

Detect Satisfaction Signals

The AI agent monitors for positive events: completed onboarding, resolved support tickets, usage milestones, or positive survey responses that indicate a customer is most likely to refer.

2

Generate Personalized Referral Links

Each customer gets a unique referral link embedded in their email. The agent personalizes the ask based on the trigger event and the customer's usage context.

3

Send at Peak Satisfaction

With autonomous oversight, referral prompts go out immediately when satisfaction signals fire. No delay between the positive experience and the referral ask.

4

Track and Follow Up

The agent monitors referral link usage, sends reward notifications when referrals convert, and follows up with gentle reminders to customers who haven't shared yet.


Implementation

Send a Referral Program Email
python
import requests

API = "https://api.multimail.dev/v1"
HEADERS = {"Authorization": "Bearer mm_live_xxx"}

def send_referral_prompt(customer_email: str, name: str, referral_link: str):
    response = requests.post(
        f"{API}/send",
        headers=HEADERS,
        json={
            "from": "[email protected]",
            "to": [customer_email],
            "subject": "Share MultiMail, get a free month (your link inside)",
            "text_body": (
                f"Hi {name},\n\n"
                f"You&"cm">#039;ve been using MultiMail for 3 months and processed "
                f"over 10,000 emails. We&"cm">#039;re glad it's working well!\n\n"
                f"Share your referral link with colleagues and get a free "
                f"month for each person who signs up:\n\n"
                f"{referral_link}\n\n"
                f"No limit on rewards. Thanks for spreading the word!"
            ),
            "html_body": f"<h2>Share & Earn</h2><p>Hi {name}...</p>"
        }
    )
    return response.json()

send_referral_prompt(
    "[email protected]", "Priya",
    "https://yourcompany.com/refer/priya-abc123"
)

Trigger a personalized referral prompt after a positive customer interaction.

Send Referral Reward Notification
python
import requests

API = "https://api.multimail.dev/v1"
HEADERS = {"Authorization": "Bearer mm_live_xxx"}

"cm"># Notify referrer about conversion
response = requests.post(
    f"{API}/send",
    headers=HEADERS,
    json={
        "from": "[email protected]",
        "to": ["[email protected]"],
        "subject": "Your referral just signed up - free month earned!",
        "text_body": (
            "Hi Priya,\n\n"
            "Great news! Someone used your referral link and signed up "
            "for MultiMail. A free month has been applied to your account.\n\n"
            "Total rewards earned: 3 free months\n"
            "Active referrals: 3\n\n"
            "Keep sharing: https://yourcompany.com/refer/priya-abc123"
        )
    }
)
print(f"Reward notification sent: {response.json()[&"cm">#039;id']}")

Notify a customer when their referral converts and they earn a reward.

MCP Tool: Referral Campaign Management
typescript
"cm">// Find customers with high engagement (potential referrers)
const happyCustomers = await mcp.search_contacts({
  query: "high-engagement active",
  limit: 50
});

"cm">// Send referral prompts to satisfied customers
for (const customer of happyCustomers.results) {
  const result = await mcp.send_email({
    to: customer.email,
    subject: `${customer.name}, share MultiMail and earn rewards`,
    text_body: `Hi ${customer.name}, you've been a great customer...`
  });

  await mcp.tag_email({
    email_id: result.id,
    tags: ["referral-program", "satisfaction-trigger"]
  });
}

Use MCP tools to identify high-satisfaction customers and send referral prompts.


What you get

Optimal Timing Drives Referrals

AI sends referral asks right after positive experiences when customers are most likely to recommend. This behavioral targeting outperforms scheduled campaigns by 4-5x.

Fully Automated Reward Loop

From initial prompt to conversion notification, the entire referral lifecycle runs autonomously. Customers stay engaged without any manual intervention.

Personalized Context

Referral emails reference the customer's actual usage and experience, making the ask feel genuine rather than mass-produced.

Complete Referral Tracking

Every referral email, click, and conversion is logged. Track program ROI with full attribution from initial prompt through referred customer signup.


Recommended oversight mode

Recommended
autonomous
Referral emails are templated messages with personalized links and usage data. They carry low risk and benefit from immediate delivery after satisfaction triggers. Autonomous mode ensures the ask arrives at peak customer happiness.

Common questions

What satisfaction signals trigger referral prompts?
Common triggers include: completed onboarding, resolved support ticket with positive rating, usage milestone (e.g., 10,000 emails processed), positive NPS response, or successful feature adoption. You configure which signals matter most for your customer base.
How do we prevent referral fatigue?
The AI agent enforces cooldown periods between referral asks and caps the total number per customer. If a customer ignores multiple prompts, the agent stops asking. Customers who actively refer continue receiving conversion notifications and encouragement.
Can we customize the referral reward structure?
MultiMail handles the email delivery. Your referral tracking system manages rewards, link generation, and conversion attribution. The AI agent connects both systems — detecting triggers from your product data and sending emails through MultiMail.
Does this comply with FTC endorsement guidelines?
Your AI agent can include required FTC disclosures in referral emails automatically. Gated send can be used for initial program announcements if legal review is needed, while subsequent templated prompts run autonomously.

Explore more use cases

The only agent email with a verifiable sender

Email infrastructure built for AI agents. Verifiable identity, graduated oversight, and a 38-tool MCP server. Formally verified in Lean 4.