send_email
Send emails via the Resend API with support for plain text, attachments, and optional scheduling. Specify custom sender and reply-to addresses to personalize your messages.
Instructions
Sends an email using the Resend API. Supports plain text content, attachments and optional scheduling. Can specify custom sender and reply-to addresses.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
attachments | No | Optional. List of attachments. Each attachment must have a filename and either localPath (path to a local file) or remoteUrl (URL to a file on the internet). | |
content | Yes | Plain text email content | |
from | No | Optional. If provided, uses this as the sender email address; otherwise uses SENDER_EMAIL_ADDRESS environment variable | |
replyTo | No | Optional. If provided, uses these as the reply-to email addresses; otherwise uses REPLY_TO_EMAIL_ADDRESSES environment variable | |
scheduledAt | No | Optional parameter to schedule the email. This uses natural language. Examples would be 'tomorrow at 10am' or 'in 2 hours' or 'next day at 9am PST' or 'Friday at 3pm ET'. | |
subject | Yes | Email subject line | |
to | Yes | Recipient email address |