MailerLogic provides enterprise-grade email delivery infrastructure with powerful APIs, deliverability optimization, and comprehensive analytics. Built by developers, for developers.
Send the same email template to multiple recipients with personalization.
Mail merge functionality for:
Newsletters with personalized greetings
Marketing campaigns with custom variables
Bulk transactional emails with recipient-specific data
Features:
Template variables: Use {{variable}} syntax in subject, HTML, and text
Per-recipient personalization via vars object
Automatic variable substitution for each recipient
Single template, many recipients
File attachments (same for all recipients)
Calendar invites (same for all recipients)
Limits:
Recommended: Up to 10,000 recipients per call
Each recipient gets their own personalized copy
Use cases:
Newsletter campaigns: "Hi {{name}}, check out our new {{product}}..."
Promotional emails with unique discount codes
Event invitations with personalized details
Not for: Different emails to each recipient → Use /api/batch instead
Security
ApiKeyAuth
Bodyapplication/jsonrequired
subjectstringrequired
Email subject with optional variables {{name}}
Example: "Hello {{name}}! Special offer inside"
htmlstring
HTML email body with variables
Example: "<h1>Hi {{name}}</h1><p>Use code <strong>{{code}}</strong> for 20% off!</p>"
textstring
Plain text email body with variables
Example: "Hi {{name}}, Use code {{code}} for 20% off!"
fromstring(email)
From email (must use verified domain, optional)
Example: "hello@mail.yourdomain.com"
domainstring
Sending domain (optional - auto-extracted from from email if not provided). If provided, must match the domain in from email address.
Example: "mail.yourdomain.com"
reply_tostring(email)
Reply-to address
Example: "support@yourdomain.com"
track_opensboolean
Enable open tracking (default: true)
Default true
Example: true
track_clicksboolean
Enable click tracking (default: true)
Default true
Example: true
tagstring
Tag for organizing/filtering emails
Example: "holiday-sale-2025"
stream_typestring
Stream type is locked to broadcast for bulk sending. Bulk/mail merge emails are marketing/newsletter content and must use the broadcast stream to protect transactional IP reputation.
Default "broadcast"
Value"broadcast"
Example: "broadcast"
attachmentsArray of objects
File attachments sent with every email (sent directly, not stored). Same attachments sent to all recipients.
icalEventstring
iCal calendar event in RFC 5545 format (sent directly, not stored). Same calendar invite sent to all recipients.
recipientsArray of objectsrequired
Array of recipients with personalization variables
Manage custom tracking domains for branded click and open tracking. Tracking domains allow you to use your own domain (e.g., track.yourdomain.com) instead of the default mailerlogic.net domain for tracking links and pixels.
Enterprise email validation API to reduce bounce rates and protect sender reputation. Real-time validation with syntax checking, domain verification, comprehensive disposable email detection, and MX record validation. Built-in intelligence to identify role accounts and suggest corrections for common typos.
Pre-send risk assessment API for Professional and Enterprise plans. Preview risk scores before sending emails to reduce bounce rates, improve deliverability, and maintain sender reputation. Get detailed risk analysis with actionable recommendations and enforcement policy insights.