Scan your whole stack
Are you using faivelo?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.10.0
faivelo was last scanned on 23 Nov 2026 at version 0.10.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.10.0 LATEST | 23 Nov 2026 | No rules fired |
| 0.8.0 | 4 Oct 2026 | No rules fired |
| 0.6.0 | 21 Sep 2026 | No rules fired |
| 0.5.0 | 18 Sep 2026 | Not shown |
| 0.4.0 | 18 Sep 2026 | Not shown |
Findings for v0.10.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 0.10.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Give your app or AI agent a real email address on your own domain. Send
transactional email (receipts, password resets, sign-in links, alerts) from
hello@yourcompany.com, create full mailboxes, read, search and answer what
comes back, and get replies pushed to your server as signed webhooks. One
flat-priced account covers mailboxes for your team and email for your code.
This is the official Faivelo SDK for Node.js
and TypeScript: transactional email, mailboxes, reading and organising mail,
aliases, domains and DNS, Drive, and Meet. It also ships the faivelo CLI.
Use it when you need:
faivelo.emails.send() from any address on your domain, with templates, attachments and safe retries.agent@yourcompany.com, read what arrives, reply in the thread, all over the API (or connect the MCP server instead).message.received webhooks.npx faivelo init yourcompany.com.npx faivelo init yourcompany.com
Signs you in, adds the domain, gets the DNS records in place (one-click where your DNS host allows it, copy-ready values otherwise), waits until they are live, and creates your first mailbox. See faivelo.com/docs/cli.
npm install faivelo
Requires Node.js 18 or newer. Fully typed; the only dependency is the bundled CLI.
Create an API key in your Faivelo dashboard under Settings → Developers, then:
import { Faivelo } from 'faivelo';
const faivelo = new Faivelo(process.env.FAIVELO_API_KEY);
Each key carries scopes (mail:send, mailboxes:write, …). A call fails with a 403 if the key lacks the scope it needs; the required scope is noted on every method's doc comment.
Send from any address on one of your verified domains, no mailbox required:
const email = await faivelo.emails.send({
from: 'Acme <hello@acme.com>',
to: 'user@example.com',
subject: 'hello world',
html: '<p>it works!</p>',
});
console.log(email.id); // use with emails.get() to track delivery
Templates are designed in the Faivelo dashboard. Reference one by alias and fill its {{tokens}}:
await faivelo.emails.send({
from: 'Acme <billing@acme.com>',
to: 'user@example.com',
templateAlias: 'receipt',
variables: { name: 'Ada', total: '$49.00' },
});
import { readFile } from 'node:fs/promises';
await faivelo.emails.send({
from: 'Acme <hello@acme.com>',
to: 'user@example.com',
subject: 'Your invoice',
text: 'Invoice attached.',
attachments: [
{ filename: 'invoice.pdf', content: await readFile('invoice.pdf') },
],
});
Up to 10 attachments, 10 MB total. content accepts a Buffer, Uint8Array, or base64 string.
Pass an idempotencyKey to make retries safe. The same key never sends twice:
await faivelo.emails.send({
from: 'Acme <hello@acme.com>',
to: 'user@example.com',
subject: 'Order confirmed',
html: '<p>Thanks!</p>',
idempotencyKey: `order-confirmed-${orderId}`,
});
const status = await faivelo.emails.get(email.id);
console.log(status.status); // "sent", "delivered", "bounced", ...
console.log(status.events); // full delivery event history
Create and manage full IMAP/SMTP mailboxes on your domains:
const mailbox = await faivelo.mailboxes.create({
domain: 'acme.com',
localPart: 'support',
displayName: 'Acme Support',
});
console.log(mailbox.credentials.password); // shown only once!
await faivelo.mailboxes.list({ domain: 'acme.com' });
await faivelo.mailboxes.get('support@acme.com');
await faivelo.mailboxes.update('support@acme.com', { displayName: 'Support' });
await faivelo.mailboxes.resetPassword('support@acme.com'); // new credentials, shown once
await faivelo.mailboxes.delete('support@acme.com');
Operate a mailbox like a mail client. Great for AI agents that need a real inbox:
// Poll the inbox
const { messages } = await faivelo.messages.list('agent@acme.com', { folder: 'INBOX', limit: 10 });
// Read one in full (marks it seen)
const message = await faivelo.messages.get('agent@acme.com', messages[0].uid);
console.log(message.text);
// Search
await faivelo.messages.search('agent@acme.com', { from: 'github.com', dateAfter: '2026-08-01' });
// Organise
await faivelo.messages.flag('agent@acme.com', 42, 'flagged', true);
await faivelo.messages.move('agent@acme.com', 42, 'Archive');
await faivelo.messages.markSpam('agent@acme.com', 43);
await faivelo.messages.delete('agent@acme.com', 44); // to Trash; { permanent: true } to skip it
// Labels: free-form tags, e.g. to track what an agent has handled
await faivelo.messages.label('agent@acme.com', 42, { add: ['needs-reply'], remove: ['new'] });
await faivelo.messages.list('agent@acme.com', { label: 'needs-reply' });
// The whole conversation a message belongs to, your own replies included
const thread = await faivelo.messages.thread('agent@acme.com', 42);
// Attachments
const file = await faivelo.messages.downloadAttachment('agent@acme.com', 42, 'report.pdf');
// file.content is a Uint8Array
// Folders
await faivelo.mailboxes.listFolders('agent@acme.com');
Unlike emails.send, this sends as the mailbox itself and lands in its Sent folder. Supports reply threading:
await faivelo.mailboxes.send('support@acme.com', {
to: 'customer@example.com',
subject: 'Re: Help with my order',
text: 'Happy to help!',
inReplyTo: message.messageId,
});
The From name is the mailbox's displayName (else the domain default). Pass
fromName to use another name for one message. When a send goes out with no
name at all, the response carries a hint.
mailboxes.sendBatch sends a templated email to a list in one call. Faivelo
queues it, sends at your plan's pace and tracks each recipient; getBatch
reports queued, sent, delivered, bounced or failed per address. The
per-call cap depends on the plan (usage().batch.recipientsPerCall), and a
batch over the cap or the remaining monthly allowance is refused whole.
const batch = await faivelo.mailboxes.sendBatch('updates@acme.com', {
subject: 'Hi {{first_name}}, the beta opens Monday',
text: 'Hi {{first_name}}, your invite code is {{code}}.',
recipients: [
{ email: 'ada@example.com', fields: { first_name: 'Ada', code: 'ADA-1' } },
{ email: 'linus@example.com', fields: { first_name: 'Linus', code: 'LIN-2' } },
],
idempotencyKey: 'beta-invites-2026-10',
});
const status = await faivelo.mailboxes.getBatch('updates@acme.com', batch.id);
A draft is a real message in the mailbox's Drafts folder. An agent writes it, a person opens Drafts in webmail (or any mail app) to read and edit it, and either of them sends it.
const { uid } = await faivelo.drafts.create('agent@acme.com', {
to: 'customer@example.com',
subject: 'Re: Refund request',
text: 'Hi Sam, your refund is on its way.',
inReplyTo: message.messageId,
});
// Later, once someone has approved it. Sends the draft as it stands now.
await faivelo.drafts.send('agent@acme.com', uid);
// Or change it (returns a new uid), or drop it
await faivelo.drafts.update('agent@acme.com', uid, { to: 'customer@example.com', subject: 'Re: Refund request', text: 'Updated.' });
await faivelo.drafts.delete('agent@acme.com', uid);
Pass an idempotencyKey and a retried request returns the first result instead
of sending twice. Works on mailboxes.send, drafts.create and drafts.send.
await faivelo.mailboxes.send('agent@acme.com', {
to: 'customer@example.com',
subject: 'Your receipt',
text: 'Thanks for your order.',
idempotencyKey: `receipt-${order.id}`,
});
Add sendAt to schedule a send. The message waits in the mailbox's Drafts
folder until its time, where a person can read it; deleting it there cancels
the send.
const { scheduled } = await faivelo.mailboxes.send('agent@acme.com', {
to: 'customer@example.com',
subject: 'Following up',
text: 'Checking in on your order.',
sendAt: '2026-10-05T09:00:00-04:00', // ISO 8601 with a timezone, or a Date
});
await faivelo.drafts.send('agent@acme.com', uid, { sendAt: tomorrowAt9 }); // schedule an existing draft
const { scheduled: waiting } = await faivelo.scheduled.list('agent@acme.com');
await faivelo.scheduled.cancel('agent@acme.com', scheduled.id); // the draft stays in Drafts
The send goes through the same checks at its time as a send made then (send
limits, the lists below), with the API key that scheduled it. scheduled.list
also shows the last week's finished sends: sent, cancelled, or failed
with a reason.
Guardrails for software using a mailbox. An entry is an address or a domain (which covers its subdomains); a block entry always wins, and once an allow list has any entry, only what it names gets through.
await faivelo.lists.replace('agent@acme.com', {
send: { allow: ['acme.com', 'customer.com'] }, // the API and MCP may only send here
receive: { block: ['spammer.com'] }, // filed in Junk, never the inbox
});
await faivelo.lists.add('agent@acme.com', { receive: { allow: ['newcustomer.com'] } });
await faivelo.lists.remove('agent@acme.com', { send: { allow: ['customer.com'] } });
const lists = await faivelo.lists.get('agent@acme.com');
Send lists are checked on every API and MCP send (a refused recipient is a
403; nothing is sent). Receive lists are enforced by the mail server at
delivery. Changing lists needs an account key with mailboxes:write: an agent
key can read its lists but not loosen them.
const usage = await faivelo.usage.get();
console.log(`${usage.sends.remaining} of ${usage.sends.limit} sends left, resets ${usage.resetsAt}`);
Forwarding addresses that deliver to one or more destinations:
await faivelo.aliases.create({
domain: 'acme.com',
localPart: 'info',
destinations: ['jane@acme.com', 'bob@acme.com'],
});
await faivelo.aliases.create({ domain: 'acme.com', catchAll: true, destinations: ['jane@acme.com'] });
await faivelo.aliases.list({ domain: 'acme.com' });
await faivelo.aliases.delete('info@acme.com');
const domains = await faivelo.domains.list();
const detail = await faivelo.domains.get('acme.com');
Edit the live DNS zone of Faivelo-registered domains (or domains with a connected registrar API key):
const records = await faivelo.dns.listRecords('acme.com');
const { id } = await faivelo.dns.createRecord('acme.com', {
type: 'A',
name: 'app.acme.com',
value: '203.0.113.10',
ttl: 3600,
});
await faivelo.dns.updateRecord('acme.com', id, { type: 'A', name: 'app.acme.com', value: '203.0.113.20' });
await faivelo.dns.deleteRecord('acme.com', id);
Records required for email delivery (MX, SPF, DKIM, DMARC, …) are flagged mailCritical and refuse edits with a 409 unless you pass force: true.
Browse the account's Faivelo Drive and download files:
const { nodes } = await faivelo.drive.list(); // root; pass { parentId } for a folder
const file = nodes.find(n => n.type === 'FILE');
const { url } = await faivelo.drive.getDownloadUrl(file.id);
// short-lived presigned URL, no auth needed
Create video rooms, e.g. for scheduling interviews or meetings:
const room = await faivelo.meet.createRoom({ title: 'Interview — Jane Doe' });
console.log(room.url); // join URL for participants
console.log(room.hostUrl); // host URL with moderator controls
Approved Faivelo partners resell mailboxes under their own brand. A partner key (kind partner) acts on your end customers, never on your own account. The whole onboarding loop:
// 1. Create the customer (an ordinary Faivelo account billed through you)
// plan: 'STARTER' | 'GROWTH' | 'PRO' | 'BUSINESS' (defaults to your account's default plan)
const customer = await faivelo.partner.customers.create({
email: 'owner@dental-practice.example',
companyName: 'Smile Dental',
attestation: { firstPartyListsOnly: true, termsAcceptedOnBehalf: true },
});
// 2. Add their domain and show them the DNS records
const domain = await faivelo.partner.domains.add(customer.id, {
domain: 'smiledental.example',
brandName: 'Smile Dental',
});
console.log(domain.dnsRecords); // type, name, value: render these in your UI
// 3. Poll until DNS verifies
const status = await faivelo.partner.domains.get(customer.id, 'smiledental.example', { verify: true });
if (status.verified) {
// 4. Create an inbox and hand over the credentials (shown once)
const inbox = await faivelo.partner.mailboxes.create(customer.id, 'smiledental.example', {
localPart: 'hello',
displayName: 'Smile Dental',
});
console.log(inbox.credentials); // IMAP/SMTP host, port, username, password
}
// Later: health, plan, pause, resume
const health = await faivelo.partner.customers.get(customer.id);
await faivelo.partner.customers.setPlan(customer.id, 'PRO');
await faivelo.partner.customers.pause(customer.id, 'unpaid invoice');
await faivelo.partner.customers.resume(customer.id);
A pause you set can be lifted with resume; a lock from a Faivelo abuse control cannot, and health.lockedBy tells you which it is.
A partner key provisions accounts and is refused by /v1. To show an inbox, search, or send from a customer's mailboxes in your own UI, mint a mailbox key on that customer and use it like any account key. It only ever holds mailboxes:read and mail:*, can be bound to one mailbox, and is shown once.
const { key } = await faivelo.partner.apiKeys.create(customer.id, { name: 'My app' });
const theirs = new Faivelo(key);
const messages = await theirs.messages.list('hello@smiledental.example');
await theirs.mailboxes.send('hello@smiledental.example', { to: 'patient@example.com', subject: 'Your appointment', text: 'See you Tuesday.' });
// Later
await faivelo.partner.apiKeys.list(customer.id);
await faivelo.partner.apiKeys.revoke(customer.id, keyId);
The key goes dark while the customer is paused or suspended. Sandbox customers have no mail store, so mailbox keys need a live customer.
// Cap a domain within the customer's plan storage, or quota one mailbox (bytes; null restores the default)
await faivelo.partner.domains.setStorage(customer.id, 'smiledental.example', 50 * 1024 ** 3);
await faivelo.partner.mailboxes.setStorage(customer.id, 'smiledental.example', 'hello@smiledental.example', 5 * 1024 ** 3);
const box = await faivelo.partner.mailboxes.get(customer.id, 'smiledental.example', 'hello@smiledental.example');
console.log(box.storage); // { usedBytes, limitBytes, availableBytes }
// A one-time webmail sign-in link for a user your portal has already authenticated (2 minutes, single use)
const { url } = await faivelo.partner.mailboxes.createWebmailSession(customer.id, 'smiledental.example', 'hello@smiledental.example');
res.redirect(url);
// Bring their address book along: the vCard file their old webmail exported
const report = await faivelo.partner.mailboxes.importContacts(customer.id, 'smiledental.example', 'hello@smiledental.example', vcfText, { dryRun: true });
console.log(report.planned, report.skipped); // then run it for real without dryRun
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.