Skip to main content

Resend

@keeb/resendv2026.07.18.1· 10d agoMODELS
01README

Comprehensive Resend integration: emails, domains, API keys, audiences, contacts, broadcasts. Markdown templates with themable cyberpunk shell.

02Models6
@keeb/resend/emailsv2026.05.22.1emails.ts

Global Arguments

ArgumentTypeDescription
apiKeystringResend API key (https://resend.com/api-keys)
fromAddress?stringDefault From header. Optional when every call passes `from` explicitly.
fn send(from?: string, to: union, subject: string, html?: string, text?: string, cc?: union, bcc?: union, reply_to?: union, headers?: record, attachments?: array, tags?: array, scheduled_at?: string, idempotency_key?: string)
Send an email via Resend (POST /emails). Full field support.
ArgumentTypeDescription
from?stringFrom header. Falls back to globalArgs.fromAddress.
tounionRecipient address(es). Up to 50.
subjectstring
html?string
text?string
cc?union
bcc?union
reply_to?union
headers?record
attachments?array
tags?array
scheduled_at?stringISO 8601 timestamp or natural language like 'in 1 min'
idempotency_key?string
fn send_batch(emails: array, idempotency_key?: string)
Send up to 100 emails in one request (POST /emails/batch).
ArgumentTypeDescription
emailsarray
idempotency_key?string
fn get(emailId: string)
Retrieve an email by id (GET /emails/:id).
ArgumentTypeDescription
emailIdstring
fn update(emailId: string, scheduled_at: string)
Reschedule a queued email (PATCH /emails/:id). Only `scheduled_at` is mutable.
ArgumentTypeDescription
emailIdstring
scheduled_atstringNew scheduled time. ISO 8601 or natural language.
fn cancel(emailId: string)
Cancel a scheduled email (POST /emails/:id/cancel).
ArgumentTypeDescription
emailIdstring
fn send_template(to: union, subject: string, from?: string, templateName?: string, markdown?: string, variables: record, cc?: union, bcc?: union, reply_to?: union, tags?: array, scheduled_at?: string, idempotency_key?: string)
Render a markdown template into branded HTML, then send via Resend.
ArgumentTypeDescription
tounion
subjectstring
from?string
templateName?string
markdown?string
variablesrecord
cc?union
bcc?union
reply_to?union
tags?array
scheduled_at?string
idempotency_key?string
fn render_template(templateName?: string, markdown?: string, variables: record)
Render a markdown template into branded HTML without sending.
ArgumentTypeDescription
templateName?string
markdown?string
variablesrecord

Resources

email(infinite)— A Resend email message
emailList(infinite)— Batch send response (array of email ids)
renderedEmail(infinite)— A rendered email body (HTML)
@keeb/resend/domainsv2026.05.22.1domains.ts

Global Arguments

ArgumentTypeDescription
apiKeystringResend API key
fn create(name: string, region?: enum, custom_return_path?: string)
Create a sending domain (POST /domains).
ArgumentTypeDescription
namestringFully qualified domain, e.g. 'mail.example.com'
region?enumSending region (default: us-east-1)
custom_return_path?stringCustom Return-Path subdomain (default: 'send')
fn get(domainId: string)
Retrieve a domain by id (GET /domains/:id).
ArgumentTypeDescription
domainIdstring
fn update(domainId: string, click_tracking?: boolean, open_tracking?: boolean, tls?: enum)
Update domain settings (PATCH /domains/:id). Toggle click/open tracking and TLS.
ArgumentTypeDescription
domainIdstring
click_tracking?boolean
open_tracking?boolean
tls?enum
fn verify(domainId: string)
Trigger DNS verification (POST /domains/:id/verify).
ArgumentTypeDescription
domainIdstring
fn list()
List all sending domains (GET /domains).
fn delete(domainId: string)
Delete a sending domain (DELETE /domains/:id).
ArgumentTypeDescription
domainIdstring

Resources

domain(infinite)— A Resend sending domain (includes DNS records to add)
domainList(infinite)— List of Resend sending domains
@keeb/resend/api_keysv2026.05.22.1api_keys.ts

Global Arguments

ArgumentTypeDescription
apiKeystringResend API key with full_access permission (required to manage keys)
fn create(name: string, permission: enum, domain_id?: string)
Create an API key (POST /api-keys). Plaintext token is returned ONCE.
ArgumentTypeDescription
namestringHuman-readable name
permissionenum
domain_id?stringRestrict sending_access keys to a single domain
fn list()
List all API keys (GET /api-keys). Tokens are not included.
fn delete(apiKeyId: string)
Revoke an API key (DELETE /api-keys/:id).
ArgumentTypeDescription
apiKeyIdstring

Resources

apiKey(infinite)— A Resend API key (token only returned on create)
apiKeyList(infinite)— List of Resend API keys
@keeb/resend/audiencesv2026.05.22.1audiences.ts

Global Arguments

ArgumentTypeDescription
apiKeystringResend API key
fn create(name: string)
Create an audience (POST /audiences).
ArgumentTypeDescription
namestringAudience name, e.g. 'Registered Users'
fn get(audienceId: string)
Retrieve an audience (GET /audiences/:id).
ArgumentTypeDescription
audienceIdstring
fn list()
List all audiences (GET /audiences).
fn delete(audienceId: string)
Delete an audience (DELETE /audiences/:id).
ArgumentTypeDescription
audienceIdstring

Resources

audience(infinite)— A Resend contact audience
audienceList(infinite)— List of audiences
@keeb/resend/contactsv2026.05.22.1contacts.ts

Global Arguments

ArgumentTypeDescription
apiKeystringResend API key
fn create(audienceId: string, email: string, first_name?: string, last_name?: string, unsubscribed?: boolean)
Add a contact to an audience.
ArgumentTypeDescription
audienceIdstring
emailstring
first_name?string
last_name?string
unsubscribed?boolean
fn get(audienceId: string, contactIdOrEmail: string)
Fetch a contact by id or email.
ArgumentTypeDescription
audienceIdstring
contactIdOrEmailstring
fn update(audienceId: string, contactIdOrEmail: string, first_name?: string, last_name?: string, unsubscribed?: boolean)
Update a contact (name fields or unsubscribed state).
ArgumentTypeDescription
audienceIdstring
contactIdOrEmailstring
first_name?string
last_name?string
unsubscribed?boolean
fn delete(audienceId: string, contactIdOrEmail: string)
Remove a contact from an audience (accepts id or email).
ArgumentTypeDescription
audienceIdstring
contactIdOrEmailstring
fn list(audienceId: string)
List all contacts in an audience.
ArgumentTypeDescription
audienceIdstring

Resources

contact(infinite)— A contact inside a Resend audience
contactList(infinite)— List of contacts for an audience
@keeb/resend/broadcastsv2026.05.22.1broadcasts.ts

Global Arguments

ArgumentTypeDescription
apiKeystringResend API key
fromAddress?stringDefault From header for broadcasts created without one
fn create(audience_id: string, from?: string, subject: string, html?: string, text?: string, reply_to?: union, name?: string)
Create a broadcast targeting an audience.
ArgumentTypeDescription
audience_idstring
from?stringFrom header. Falls back to globalArgs.fromAddress.
subjectstring
html?string
text?string
reply_to?union
name?stringInternal name for the broadcast
fn get(broadcastId: string)
Retrieve a broadcast (GET /broadcasts/:id).
ArgumentTypeDescription
broadcastIdstring
fn send(broadcastId: string, scheduled_at?: string)
Send a broadcast immediately, or schedule it.
ArgumentTypeDescription
broadcastIdstring
scheduled_at?stringISO 8601 timestamp or natural language like 'in 1 hour'. Omit for immediate send.
fn list()
List all broadcasts.
fn delete(broadcastId: string)
Delete a broadcast (DELETE /broadcasts/:id).
ArgumentTypeDescription
broadcastIdstring

Resources

broadcast(infinite)— A Resend broadcast (audience-targeted email campaign)
broadcastList(infinite)— List of broadcasts
03Stats
B
85 / 100
Downloads
0
Archive size
425.9 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository0/2missing
04Platforms
05Labels