Docs Providers

Plunk

Configure Plunk as your email provider.

About Plunk

Plunk is an open-source email platform focused on simplicity. It can be self-hosted or used as a managed service.

Website: useplunk.com

Prerequisites

  1. A Plunk account (hosted or self-hosted)
  2. An API key
  3. A configured project

Getting Your API Key

Hosted Plunk

  1. Log in to Plunk
  2. Go to your project settings
  3. Find your Secret API Key
  4. Copy the key

Self-Hosted Plunk

  1. Access your Plunk dashboard
  2. Navigate to project settings
  3. Copy the API key

Configuration

Add Plunk in mailshit:

  1. Go to Settings > Providers
  2. Click Add Provider
  3. Select Plunk
  4. Enter the following:
FieldDescriptionExample
API KeyYour Plunk API keysk_abc123...
From EmailSender emailhello@yourdomain.com
From NameDisplay name (optional)Your Company
  1. Click Save

Hosted vs Self-Hosted

Hosted (useplunk.com)

  • Managed infrastructure
  • Automatic updates
  • No server maintenance
  • Pay-as-you-go pricing

Self-Hosted

  • Full control over data
  • No usage limits (you control the infrastructure)
  • Requires server maintenance
  • Connect your own email provider (AWS SES, etc.)

Free Tier (Hosted)

Plunk’s hosted service offers:

  • 100 emails/month free
  • 1 project
  • Basic analytics

Open Source

Plunk is open source under the AGPLv3 license:

Example Response

{
  "success": true,
  "type": "sent",
  "messageId": "plunk_abc123..."
}

Best Practices

  1. Configure your sending domain for better deliverability
  2. Use environment variables for API keys
  3. Monitor sends through Plunk’s dashboard
  4. Self-host for privacy if handling sensitive data

Troubleshooting

“Unauthorized”

  • Verify your API key is correct
  • Ensure you’re using the secret key, not public key

“Project not found”

  • Check your project exists in Plunk
  • Verify API key belongs to the correct project

Emails not delivering (self-hosted)

  • Check your underlying email provider configuration
  • Verify DNS records are set up correctly