npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@logto/connector-mailjunky

v1.6.0

Published

Logto email connector for MailJunky (transactional email API).

Readme

MailJunky email connector

The Logto connector for MailJunky — transactional email with optional AI workflows and event tracking. Logto uses MailJunky’s HTTP API to send verification codes, password resets, magic links, and other auth-related messages.

Table of contents

Get started

  1. Create a MailJunky account at mailjunky.ai.
  2. Verify your sending domain (required for reliable delivery).
  3. Create an API key with permission to send email.
  4. Add this connector in the Logto Console and paste your configuration.

API reference: MailJunky documentation.

Prerequisites

  • API key — Used as Authorization: Bearer <apiKey> when calling POST https://mailjunky.ai/api/v1/emails/send.
  • From email / name — Must align with a verified sender or domain in MailJunky. The connector sends a from field built from fromEmail and optional fromName (RFC-style Name <email> when fromName is set).

Configure your connector

Field | Description ------------ | ----------------------------------------------------- apiKey | MailJunky API key (mj_live_... or mj_test_...). fromEmail | Verified sender email address. fromName | Optional display name for the From header. templates | JSON array of templates (see below).

At minimum, templates with usageType Register, SignIn, ForgotPassword, and Generic are required.

Templates

Each template object supports:

Property | Description ------------ | ---------------------------------------------------------------------------------------------------------------- usageType | One of Logto template types, e.g. SignIn, Register, ForgotPassword, Generic, OrganizationInvitation, … subject | Email subject; supports Handlebars (e.g. {{code}}, {{link}}). content | Body; HTML or plain text; supports Handlebars placeholders.

If no template exists for a given flow, Logto falls back to the Generic template.

Example templates JSON:

[
  {
    "usageType": "Register",
    "subject": "Verify your email",
    "content": "Your verification code is {{code}}."
  },
  {
    "usageType": "SignIn",
    "subject": "Sign-in code",
    "content": "Your sign-in code is {{code}}."
  },
  {
    "usageType": "ForgotPassword",
    "subject": "Reset your password",
    "content": "Your reset code is {{code}}."
  },
  {
    "usageType": "Generic",
    "subject": "Verification code",
    "content": "Your code is {{code}}."
  }
]

The connector renders subject and content, then sends JSON including from, to, subject, html, and text (plain text is derived from the HTML content when the body contains tags).

Test the connector

Use the Send test in the connector detail page with a real inbox you can access. Then enable the connector in Sign-in experience → Connectors.

Config types

Name | Type ----------- | ----------------- apiKey | string fromEmail | string fromName | string (optional) templates | Template[]

Template properties | Type ------------------- | ------ usageType | string subject | string content | string