Skip to content
Agdir Email Programmatic email for developers · by Agdir

Programmatic email for developers, hosted in the EU.

Send transactional email from your code with our open-source SDKs and a simple REST API. Delivered from European infrastructure, built and operated by a Norwegian company.

Public beta · Stockholm region 3,000 emails a month free. No card needed.

$ npm install @agdirlabs/email

send.ts

import { AgdirEmail } from '@agdirlabs/email';
const agdir = new AgdirEmail(
  process.env.AGDIR_EMAIL_API_KEY
);
await agdir.emails.send({
  from: 'Acme <hello@acme.no>',
  to: 'kari@example.no',
  subject: 'Your receipt',
  html: '<p>Takk!</p>'
});
REST APIhttps://api.agdir.email

Sent from Stockholm. Stored in the EU.

Your data is stored and processed in the EU/EEA. This is the path every email takes from your code to the recipient.

  1. Your app

    SDK · REST · MCP

  2. Agdir Email API

    api.agdir.email · Hetzner, Germany

  3. Amazon SES

    eu-north-1 · Stockholm, Sweden

    Signed with your own DKIM key

  4. The recipient

    their mail server

Logs
Deleted after 3 days on Free, 30 days on Pro and Scale.
Sub-processors
Listed in our Privacy Policy. Changes are announced in advance. See the list
Data processing agreement
Included in our Terms of Service. A signed copy is available on request. Read the terms

From npm install to a delivered email

  1. Add your domain

    We generate your DKIM key and the DNS records. On Cloudflare we add them for you.

  2. Create an API key

    Full access for your backend, or sending-only for apps and AI agents.

  3. Send

    One call from the SDK, the REST API or MCP. Idempotency keys, scheduling and batches included.

  4. Follow every email

    Delivered, bounced, opened, clicked — in the dashboard and as signed webhooks.

Send from wherever your code runs

Official SDKs and CLI

Open source for Node.js, Python, PHP, Go, .NET, Ruby and Rust, plus the agdir-email CLI. Typed, with retries and webhook verification built in.

View on GitHub →

MCP server

Let AI agents send and inspect email through a scoped key at api.agdir.email/mcp.

SMTP relay soon

For apps that only speak SMTP. Same keys, same logs. Coming soon.

Simple pricing in euros

Beta prices, excluding VAT. Final prices are announced before billing starts.

Free

€0/ month

3,000 emails / month

  • Up to 100 emails a day
  • 1 domain
  • Logs kept 3 days
  • Sending stops at the monthly limit
Create a free account

Pro

For production

€20/ month

50,000 emails / month

  • No daily limit
  • 10 domains
  • Logs kept 30 days
  • Then €0.90 per started 1,000 emails
Choose Pro

Scale

€90/ month

200,000 emails / month

  • No daily limit
  • 100 domains
  • Logs kept 30 days
  • Then €0.90 per started 1,000 emails
Choose Scale

Your monthly bill is capped by a spend limit you control: 3× the plan price by default (€60 on Pro, €270 on Scale), adjustable in the dashboard.

New accounts start with a 7-day warm-up of up to 100 emails a day on every plan.