Graphrt

Resend

Send email with Idempotency-Key retries (html/text or templates, scheduling, tags), sent emails, reschedule, domains with DNS records, agent sends need an opt-in and an optional recipient allowlist, batch sends and cancel are node only

Beta v0.1.0 Node.js 9 actions ToS risk low
Use in Graphrt Desktop

About

A Graphrt plugin for the Resend email API. It sends email (html/text or a published template, now or scheduled), sends batches, reads sent emails, reschedules or cancels scheduled ones and reads sending domains. Built with the declarative REST layer.

What it can do

  • send_email: from (display name allowed), to (max 50), cc, bcc, reply_to, subject, html and/or text or a template_id with template_variables, scheduled_at (ISO 8601 or "in 1 hour"), tags and topic_id. Every call carries a fresh Idempotency-Key, so a timeout or 5xx is retried without sending twice.
  • send_batch_emails (node only): up to 100 emails in one call (no attachments or scheduling), with an Idempotency-Key.
  • Sent emails: list_emails (cursor pagination), get_email (html/text, last_event), reschedule_email, cancel_email (node only).
  • Domains: list_domains, get_domain (status and the DNS records to publish).
  • api_request: any other endpoint (GET only for agents, and only under an allowlist of read paths).

Actions

Each action is a step you can add to a workflow. Agents can also use most of them as tools.

  • Send email resend.send_email
  • Send batch resend.send_batch_emails
  • Get email resend.get_email
  • List emails resend.list_emails
  • Reschedule email resend.reschedule_email
  • Cancel scheduled email resend.cancel_email
  • List domains resend.list_domains
  • Get domain resend.get_domain
  • Resend API request resend.api_request

Settings

Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.

  • RESEND_API_KEY Required
    API key (re_...)
  • RESEND_TOOL_ALLOW_SEND Optional
    1 lets agent tools call send_email and reschedule_email
  • RESEND_TOOL_RECIPIENT_ALLOWLIST Optional
    Comma-separated addresses or @domains agent tools may send to (to, cc and bcc)

How to use it

In Graphrt Desktop

  1. Open Plugins and search for Resend.
  2. Click Install and approve it.
  3. Follow the setup steps on the plugin's page, then paste the settings it needs.
  4. Describe a job that needs it, and the builder adds the steps.
Plugins in Graphrt Desktop

With the CLI

terminal
$ graphrt plugin install resend
workflow.yaml
- id: welcome
  type: resend.send_email
  from: "Acme <hello@example.com>"
  to: ["{{#start.email#}}"]
  subject: Welcome to Acme
  html: "<p>Hi {{#start.name#}}, thanks for signing up.</p>"
  tags: [{ name: category, value: welcome }]
- id: reminder
  type: resend.send_email
  from: "Acme <hello@example.com>"
  to: ["ada@example.com"]
  template_id: renewal-reminder
  template_variables: { PLAN: Pro }
  scheduled_at: "in 3 days"
Plugins in the docs