Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resend Integration for Xano

Send transactional and batch emails with delivery tracking from your Xano backend.

Functions

Function Description
resend_send_email Sends a transactional email with HTML or plain text content.
resend_send_batch Sends up to 100 emails in a single API request.
resend_get_email Retrieves the delivery status and details of a sent email by ID.

Install

Option A — Ask Claude Code

With the Xano MCP enabled in Claude Code, paste this into Claude:

Install the integration at https://github.com/xano-community/integration-resend-email into my Xano workspace.

Claude will clone the repo and push the functions to your workspace.

Option B — Use the Xano CLI

  1. Install and authenticate the Xano CLI:

    npm install -g @xano/cli
    xano auth
  2. Clone and push this integration:

    git clone https://github.com/xano-community/integration-resend-email.git
    cd integration-resend-email
    xano workspace push -w <your-workspace-id>

    Replace <your-workspace-id> with the ID from xano workspace list.

Configure Credentials

  1. Create a Resend account at https://resend.com/signup
  2. Navigate to API Keys in the Resend dashboard
  3. Create a new API key with sending access
  4. Verify your sending domain under Domains in the dashboard
  5. In Xano, set the environment variable RESEND_API_KEY to your API key

Environment variables used by this integration:

  • RESEND_API_KEY

See .env.example for a template.

Usage

Call any function from another function, task, or API endpoint using function.run:

function.run "resend_send_email" {
  input = {
    // See function signature for required parameters
  }
} as $result

Function Reference

resend_send_email

Sends a single email through Resend's API with support for HTML and plain text bodies. Specify from address, to recipients, subject line, and optional reply-to, CC, and BCC fields. Also supports tags (an array of { name, value } tag objects) and scheduled_at (an ISO 8601 datetime string for scheduled delivery). Returns an email ID that can be used to track delivery status. Ideal for welcome emails, password resets, and order confirmations.

resend_send_batch

Delivers multiple emails in one batch request to Resend, supporting up to 100 messages per call. Each email in the batch can have its own recipients, subject, and content. Significantly more efficient than sending emails individually when you need to notify many users at once. Returns an object with a data array of email ID objects, e.g. { data: [{ id: "..." }] }.

resend_get_email

Fetches the current status and metadata of a previously sent email using its Resend email ID. Returns delivery state (sent, delivered, bounced, complained), timestamps, and recipient information. Useful for building delivery dashboards or triggering follow-up logic based on email outcomes.

License

MIT — see LICENSE.

About

Send transactional and batch emails with delivery tracking from your Xano backend.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages