For the complete site index, see llms.txt. Docs index: llms-docs.txt. Marketing corpus: llms-full.txt. Docs corpus: llms-full-docs.txt. Prefer markdown URLs where available (append .md).. Product skill: skill.md. Pricing: pricing.md. Docs MCP: /docs/mcp. Site MCP: /mcp.

[Node.js SDK]

Elysia

Send transactional email from Elysia routes on Bun with the official Node.js SDK.

Step 1

Install the package

Add the official Node.js client to your Elysia project.

bash
bun add reloop-email

Step 2

Set your API key

Create a free Reloop account, copy your API key, and add it to your Elysia environment.

Get an API key free →
bash
RELOOP_API_KEY="re_xxxxxxxx"

Step 3

Send email from Elysia

Use this Elysia snippet to send your first message. Works with Bun · TypeScript · Eden.

send_email.ts
1import { Elysia } from 'elysia';
2import Reloop from 'reloop-email';
3
4const reloop = new Reloop(process.env.RELOOP_API_KEY);
5
6const app = new Elysia()
7 .post('/send', async () => {
8 const { data, error } = await reloop.emails.send({
9 from: 'Acme <onboarding@yourdomain.com>',
10 to: ['delivered@yourdomain.com'],
11 subject: 'Hello from Elysia',
12 html: '<strong>It works!</strong>',
13 });
14
15 if (error) throw error;
16 return { id: data.id };
17 })
18 .listen(3000);
19
20console.log(`Listening on ${app.server?.hostname}:${app.server?.port}`);

Send with Elysia.

Get an API key and ship transactional email from Elysia using the official Node.js SDK.