Skip to main content

Overview

Connect MailerSend to send transactional emails from your partner program, including partner notifications, welcome emails, and payout confirmations.

Features

  • Transactional emails - Reliable delivery for important notifications
  • Email templates - Use MailerSend templates
  • Tracking - Open and click tracking
  • High deliverability - Professional email infrastructure

Setup

Step 1: Create API Token

  1. Log in to MailerSend
  2. Go to Domains → Manage → API tokens
  3. Create new token with these permissions:
    • Email: Full access
    • Templates: Read access
  4. Copy the token

Step 2: Verify Domain

Ensure your sending domain is verified:
  1. Go to Domains in MailerSend
  2. Add and verify your domain
  3. Set up SPF, DKIM, and DMARC records

Step 3: Connect in Partnero

  1. Go to Program Settings → Integrations
  2. Select MailerSend
  3. Enter API token
  4. Select verified domain
  5. Click Connect

Email Types

Partner Emails

Transactional emails sent to partners:
EmailTrigger
WelcomePartner signs up
ApprovalPartner approved
New ReferralSomeone uses their link
Sale MadeTransaction recorded
Payout SentPayment processed

Customer Emails

Emails for referred customers:
EmailTrigger
Referral WelcomeCustomer referred
Reward EarnedReferral reward given

Templates

Using MailerSend Templates

Create templates in MailerSend:
  1. Go to Templates in MailerSend
  2. Create template with variables
  3. Copy template ID
  4. Configure in Partnero

Template Variables

Available variables for templates:
{
  "partner_name": "John Doe",
  "partner_email": "[email protected]",
  "program_name": "Your Program",
  "referral_link": "https://yoursite.com/?ref=CODE",
  "transaction_amount": "$99.00",
  "commission_amount": "$19.80",
  "payout_amount": "$150.00"
}

Example Template

<h1>Congratulations, {{partner_name}}!</h1>
<p>You just earned a commission of {{commission_amount}}.</p>
<p>Transaction: {{transaction_amount}}</p>
<p>Keep sharing your link: {{referral_link}}</p>

Configuration

Email Settings

Configure email settings in Partnero:
SettingDescription
From NameSender name
From EmailSender email (verified domain)
Reply-ToReply-to address

Enable/Disable Emails

Control which emails are sent:
  1. Go to Program Settings → Emails
  2. Toggle each email type on/off
  3. Customize subject lines
  4. Select templates

Testing

Send Test Email

  1. Go to integration settings
  2. Click Send Test Email
  3. Enter recipient
  4. Verify delivery

Test Mode

Use MailerSend test mode:
  • Emails logged but not sent
  • Good for development

Email Logs

View sent emails:
  1. In MailerSend: Activity → Emails
  2. In Partnero: Program → Email Logs
Track:
  • Delivery status
  • Opens
  • Clicks
  • Bounces

Troubleshooting

  • Verify API token is correct
  • Check domain is verified
  • Ensure email type is enabled
  • Verify SPF, DKIM, DMARC
  • Check domain reputation
  • Review email content
  • Verify template ID is correct
  • Check all variables exist
  • Test template in MailerSend

Next Steps