Developer platform

Send email from your own domain with one line of code.

Receipts, sign-in links and notifications from addresses at your domain, signed with DKIM so they reach the inbox. Send from Edge Functions, the API, the CLI or the dashboard, and pay only for what you send.

// lyrcloud.json: "email": "EMAIL"
export default {
  async fetch(request, env) {
    const { email } = await request.json();
    await env.EMAIL.send({
      from: 'Shop <orders@example.com>',
      to: email,
      subject: 'Your order is confirmed',
      html: '<h1>Thanks!</h1><p>It ships tomorrow.</p>',
    });
    return new Response('ok');
  },
};

// $ lyrcloud email add example.com
// $ lyrcloud email send --from hi@example.com --to you@gmail.com --subject Hi --text Hello
โœ‰ Email Sending

What you get

Your domain, verified in minutes

Add a domain and Lyrcloud gives you three DNS records. On Lyrcloud DNS they are added for you.

One line in a function

Add "email": "EMAIL" to lyrcloud.json and call env.EMAIL.send({ from, to, subject, html }).

Lands in the inbox

Every message is DKIM-signed for your domain and sent over infrastructure with a strong reputation.

Reputation guard

Addresses that bounce or report spam are suppressed automatically, and sending pauses before a problem spreads.

Up to 50 recipients a message

To, Cc, Bcc and Reply-To, with text and HTML bodies.

Included in every plan

Launch: 2 domains, 3,000 emails a month. Scale: 10 domains, 50,000 a month. Enterprise: 50 domains, 500,000 a month. Past that, $1 per 1,000 from Lyrcloud credit.

Works with the rest of Lyrcloud

๐ŸŒ

Domains

Register or transfer a domain with free WHOIS privacy and Lyrcloud DNS, paid by card or with Lyrpay.

Learn more
โšก

Global CDN

Response caching, static files and whole static sites for your edge functions, with cache headers you control and purges from the CLI.

Learn more
๐Ÿ”’

Application Security

Rate limits, IP rules, a firewall for common attacks, bot checks and secure headers for your edge functions, set in lyrcloud.json and enforced before your code runs.

Learn more

Try Email Sending free.

Create a free account in under a minute. No credit card required.