Skip to main content

Resend Bubble

Email sending service via Resend API

Quick Start

import { ResendBubble } from '@bubblelab/bubble-core';
import { CredentialType } from '@bubblelab/shared-schemas';
const result = await new ResendBubble({
operation: 'send_email',
credentials: {
[CredentialType.RESEND_CRED]: process.env.RESEND_CRED as string,
},
}).action();

Operation Details

send_email

operation 'send_email' required
Send an email via Resend
from string
Sender email address, should not be changed from <[email protected]> if resend account has not been setup with domain verification
to unknown required
Recipient email address(es). For multiple addresses, send as an array of strings. Max 50.
cc unknown
CC email address(es). For multiple addresses, send as an array of strings.
bcc unknown
BCC email address(es). For multiple addresses, send as an array of strings.
subject string required
Email subject line
text string
Plain text email content
html string
HTML email content
reply_to unknown
Reply-to email address(es). For multiple addresses, send as an array of strings.
scheduled_at string
Schedule email to be sent later (ISO 8601 format or natural language like "in 1 hour")
attachments object[]
Array of email attachments (max 40MB total per email)
tags object[]
Array of email tags for tracking and analytics
headers Record<string,string>
Custom email headers (e.g., X-Custom-Header)
credentials Record<CredentialType,string>
Object mapping credential types to values (injected at runtime)

get_email_status

operation 'get_email_status' required
Get the status of a sent email
email_id string required
Resend email ID to check status for
credentials Record<CredentialType,string>
Object mapping credential types to values (injected at runtime)