MyApp

Getting Started

IntroductionInstallationPull Updates
Architecture

Setup

IDEAI AgentsMCP ServersEnvironment Variables

Workflow

Git WorkflowBuild & DeployTroubleshooting

Authentication

OverviewSetup & ConfigurationUsage & IntegrationTroubleshooting

Payments

OverviewSetup & ConfigurationUsage & IntegrationTroubleshooting

Supabase

OverviewSetup & ConfigurationTroubleshooting

Database

Database SetupPrisma ORMUsage & IntegrationMigrationsTroubleshooting

Storage

OverviewSetup & ConfigurationUsage & IntegrationTroubleshooting

Emails

OverviewSetup and ConfigurationUsage and IntegrationTroubleshooting

SEO

OverviewConfiguration & Best PracticesCustomization & Optimization

UI

OverviewSetup and ConfigurationThemingTroubleshooting
MyApp

Overview

Learn about Plainform's email system using Resend for transactional emails and Mailchimp for newsletter management

Plainform uses a dual email system: Resend for transactional emails and Mailchimp for newsletter management. This combination provides reliable email delivery with professional templates and audience management.

Email Services

Resend (Transactional Emails)

Resend handles automated, one-to-one emails triggered by user actions:

  • Order confirmations and receipts
  • Welcome emails and onboarding
  • Notifications and alerts
  • Custom transactional emails

Resend is configured in lib/resend/resend.ts and provides:

  • High deliverability rates
  • React-based email templates
  • Simple API integration
  • DNS configuration for custom domains

Mailchimp (Newsletter Management)

Mailchimp manages marketing emails and subscriber lists:

  • Newsletter subscriptions
  • Marketing campaigns
  • Audience segmentation
  • Email analytics

Mailchimp is integrated via API in app/api/resend/newsletter/route.ts and provides:

  • Subscriber list management
  • Campaign creation and scheduling
  • Email templates and design tools
  • Analytics and reporting

Key Features

  • Transactional Emails: Send automated emails using Resend's API
  • Newsletter Subscriptions: Manage subscribers with Mailchimp audiences
  • Email Templates: Create React-based templates for Resend emails
  • DNS Setup: Configure domain settings for email deliverability
  • Rate Limiting: Protect newsletter signup endpoint from abuse
  • Environment Validation: All API keys validated by t3-env

Architecture

User Action
    ↓
Transactional Email → Resend API → User Inbox
Newsletter Signup → Mailchimp API → Subscriber List

Email templates are stored in emails/ folder and use React components for Resend emails.

Next Steps

  • Setup and Configuration - Configure Resend and Mailchimp
  • Usage and Integration - Send emails and manage subscribers
  • Troubleshooting - Common issues and solutions

How is this guide ?

Last updated on

Troubleshooting

Common AWS S3 issues and how to resolve them.

Setup and Configuration

Configure Resend and Mailchimp for transactional emails and newsletter management

On this page

Email Services
Resend (Transactional Emails)
Mailchimp (Newsletter Management)
Key Features
Architecture
Next Steps