Transactional email from Supabase

Trigger email from a Supabase Edge Function on signup or a database webhook — no template.

Sendable's SDK is JavaScript, but the API is plain HTTP, so it works from Deno / Supabase Edge Functions too. You POST the event you want and Sendable writes and sends the email — no template.

Edge function

Deno.serve(async (req) => {
  const { email } = await req.json();
  await fetch("https://www.sendable.me/v1/send", {
    method: "POST",
    headers: {
      "Authorization": "Bearer " + Deno.env.get("SENDABLE_API_KEY"),
      "Content-Type": "application/json",
    },
    body: JSON.stringify({ to: email, event: "account_created", data: { plan: "free" } }),
  });
  return new Response("ok");
});

Why it's not a template

You send an event name and field names — never a designed template. The model that writes the copy never sees your values, so a price or a link is inserted verbatim and can't be altered, and a second model blocks any claim your data doesn't support.

Written, on-brand email with nothing to maintain.

Honest limitations

Try it free

Get your free API key →

500 messages a month, no card. One call to integrate.