Deno Email Apis

Send and receive emails in Deno JS. Use APIs in Deno with MailSlurp.

Deno is Node sorted - literally!

// deno

But, more seriously, Deno is a new runtime for Javascript that promises to fix some of the biggest problems with NodeJS. It was in fact created by Ryan Dahl who invented NodeJs itself.

Sending emails in Deno

MailSlurp is a free email API for sending and reading emails from disposable temp mailboxes. To use MailSlurp with deno simply import the package from Github.

import { InboxControllerApi } from ''

Creating inboxes

The Deno email library uses the same API as the NodeJS npm package.

// create a client
const apiKey = process.env.API_KEY ?? 'your-api-key';
const mailslurp = new MailSlurp({ apiKey });

// create an inbox
const inbox = await mailslurp.inboxController.createInbox({});