Scan your whole stack
Are you using @kayjs/mail?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.0.0-alpha.0
@kayjs/mail was last scanned on 23 Nov 2026 at version 2.0.0-alpha.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.0.0-alpha.0 LATEST | 23 Nov 2026 | No rules fired |
| 1.112.2 | 20 Nov 2026 | No rules fired |
| 1.112.1 | 20 Nov 2026 | No rules fired |
| 1.112.0 | 19 Nov 2026 | Not shown |
| 1.111.0 | 19 Nov 2026 | Not shown |
Findings for v2.0.0-alpha.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.0.0-alpha.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Mail for kay apps: SMTP configured from typed environment variables, mails written as .kay components rendered to html and text, an outbox shown at /_kay/mail under kay dev and read by tests instead of a real server, and sending through kay's queue with retries. It works from kay pages, actions and jobs, and from a plain Elysia app.
kayjs-mail is published to npm as @kayjs/mail, beside kay, and as a mirror to the Forgejo registry at git.kaynooo.fr.
bun add @kayjs/mail
kay and Elysia are peers. It is released with kay, at kay's own version, and peers on kay's minor: install the one matching your kay, and move them together.
// kay.config.ts: the server runs the queue, and lists the outbox at /_kay/mail under kay dev
import { mail } from '@kayjs/mail'
export default defineConfig({ extensions: [mail({ from: 'Site <contact@example.com>', locale: 'fr' })] })
A page, an action or a guard sends through the mailer of its own site, ctx.locals.mail. A transport or views of your own go in a src/mail.ts exporting mailer({ ... }) as mail, listed with mail({ module: './src/mail' }).
--- server
import Welcome from '../mails/welcome.kay'
export const signUp = action(schema, async ({ name, email }, { locals }) => {
await locals.mail.enqueue({ to: email, subject: `Welcome, ${name}`, view: Welcome, props: { name } })
})
---
In production it sends over SMTP and reads MAIL_URL (required, smtp://user:pass@host:port, the login and the port optional) and MAIL_FROM (optional: noreply@ the site's host when the site is set, unless from is set). It stops the boot naming a required one that is missing; kay env lists them all. A mail naming no recipient, such as a contact form's, goes to MAIL_TO. In development and under bun test mails stay in the process's outbox, and the development pages send one for real, to an address you type, over the SMTP the environment names.
The full reference, for people and for LLMs, is llms.txt, which lists its topic files in llms/.
This library is developed in kay's repository, whose CONTRIBUTING.md says how to work on it.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.