Marketing emails that get read
Send newsletters to segmented audiences with full analytics. Track opens, clicks, and conversions. Unsubscribe handling built in.
import { Stack0 } from '@stack0/sdk'const stack0 = new Stack0({ apiKey: process.env.STACK0_API_KEY })// Send newsletter to an audienceexport async function sendNewsletter(campaignId: string) {await stack0.mail.broadcasts.send({audienceId: 'weekly-digest-subscribers',templateId: 'weekly-newsletter',templateVariables: {weekOf: new Date().toLocaleDateString(),featuredArticles: [{ title: 'New Feature Launch', url: '/blog/new-feature' },{ title: 'Customer Spotlight', url: '/blog/spotlight' },],ctaText: 'Read More',ctaUrl: '/blog',},// Schedule for optimal engagementsendAt: getOptimalSendTime(),})}// Track a new subscriberexport async function addSubscriber(email: string, name: string) {await stack0.mail.contacts.create({email,properties: { name, source: 'website' },audiences: ['weekly-digest-subscribers'],})}
Features
What's included
Audiences
Segment contacts by properties and behavior. Target the right subscribers.
Templates
Reusable templates with variables. Consistent branding across campaigns.
Analytics
Opens, clicks, bounces, and unsubscribes. Full visibility into performance.
Open Tracking
See who reads your newsletters. Identify your most engaged subscribers.
Scheduling
Send immediately or schedule for later. Optimize for timezone and engagement.
High Deliverability
Proper authentication and reputation management. Reach the inbox.
Why Stack0
Built for production
Audience segmentation
Target by signup date, engagement level, or custom properties. Send relevant content.
Full analytics
Track opens, clicks, and unsubscribes. Know what content resonates.
Unsubscribe handling
Automatic unsubscribe links and list management. Stay compliant with regulations.
Send scheduling
Schedule campaigns for optimal engagement times. Reach subscribers when they read.
TypeScript SDK
Type-safe campaign data. Build reliable marketing automation.
Simple pricing
$0.50 per 1,000 emails. No per-subscriber fees or hidden costs.
Applications
Common implementations
Weekly Digest
Send curated content roundups to keep subscribers engaged.
Product Updates
Announce new features and improvements to your user base.
Promotional Campaigns
Send sales, discounts, and special offers to drive conversions.
Content Newsletter
Share blog posts, tutorials, and educational content regularly.
FAQ
Frequently asked questions
We automatically add an unsubscribe link to all broadcast emails. When users click it, they're removed from that audience. You can view unsubscribe events in your dashboard or via webhooks.
Track sends, deliveries, opens, clicks, bounces, and unsubscribes. View metrics per campaign or over time. Export data via API for your own dashboards.
Yes. Create multiple variants of your campaign with different subject lines. We'll send each variant to a portion of your audience and report which performs best.
Segment by signup date, engagement level (opened recent emails), custom properties (plan, location), or behavior (clicked certain links). More relevant content means better engagement.
It depends on your audience. Generally, Tuesday-Thursday mornings work well for B2B. Use our scheduling feature to send at optimal times based on recipient timezone.
Ready to build?
Plans start at $5/month.