Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 2.13 KB

File metadata and controls

56 lines (38 loc) · 2.13 KB

emdash-plugin-lettermint

CI Lint npm License: MIT TypeScript EmDash Plugin

Lettermint email provider plugin for EmDash CMS.

Sends all EmDash emails (password resets, notifications, etc.) through Lettermint's EU-based email delivery service.

Installation

npm install @jdevalk/emdash-plugin-lettermint

Add it to your Astro config:

import { defineConfig } from "astro/config";
import emdash from "emdash";
import lettermintPlugin from "@jdevalk/emdash-plugin-lettermint";

export default defineConfig({
  integrations: [
    emdash({
      plugins: [lettermintPlugin()],
    }),
  ],
});

Configuration

In the EmDash admin panel, go to the Lettermint plugin settings and configure:

  • API token — your Lettermint API token from dash.lettermint.co
  • From address — your default sender address (e.g. You <you@yourdomain.com>)

Requirements

  • A Lettermint account with a verified sending domain
  • An API token from your Lettermint dashboard

How it works

This plugin registers as an EmDash email provider using the email:deliver hook. When any part of EmDash (or another plugin) sends an email, Lettermint handles the delivery.

The plugin uses only the EmDash plugin API — no Cloudflare-specific code. It works on any platform EmDash supports.

License

MIT