Send
Send Certified

Send email via Resend API

yaml
type: io.kestra.plugin.resend.email.Send
yaml
id: send_email
namespace: company.team

tasks:
  - id: notify
    type: io.kestra.plugin.resend.email.Send
    from: "your-email@example.com"
    to:
      - "demo@example.com"
    subject: "Welcome!"
    html: "<h1>Hello</h1>"
    apiKey: "{{ secret('RESEND_API_KEY') }}"

yaml
id: send_email_with_attachment
namespace: company.team

inputs:
  - id: user_file
    type: FILE

tasks:
  - id: send_email
    type: io.kestra.plugin.resend.email.Send
    from: "user@example.com"
    to:
      - "recipient@example.com"
    subject: "Welcome with attachment!"
    html: "<h1>Hello</h1><p>Here’s your file.</p>"
    attachments:
      - name: "test.pdf"
        uri: "{{ inputs.user_file }}"
        contentType: "application/pdf"
    apiKey: "{{ secret('RESEND_API_KEY') }}"

yaml
id: send_email_scheduled
namespace: company.team

tasks:
  - id: send_email
    type: io.kestra.plugin.resend.email.Send
    from: "alerts@example.com"
    to:
      - "ops@example.com"
    subject: "Nightly report"
    text: "Report ready. See attached log."
    attachments:
      - name: "log.txt"
        path: "https://example.com/logs/today.txt"
    tags:
      - name: "env"
        value: "prod"
      - name: "type"
        value: "report"
    headers:
      X-Source: "kestra-flow"
    scheduledAt: "2024-08-05T11:52:01.858Z"
    apiKey: "{{ secret('RESEND_API_KEY') }}"
Properties
SubTypestring
Definitions
name*Requiredstring
contentIdstring
contentTypestring
pathstring
uristring
SubTypestring
SubTypestring
SubTypestring
SubTypestring
Definitions
namestring
valuestring

Create automations with Resend Email Send