x402_send_email
Send transactional emails with HTML/plain text, CC/BCC recipients, and file attachments via Resend. Paid mode costs $0.01 USDC per email with daily limits, or use free test mode for fixture data.
Instructions
Send a transactional email via Resend. Price: $0.01 USDC per email (paid mode) | Free test: returns fixture data.
Supports plain text or HTML body, CC/BCC recipients, and file attachments (base64-encoded, max 25MB per file). Per-wallet daily limit: 10 emails. Per-domain daily limit: 5 emails (applies to all recipients including CC/BCC). Without X402_PRIVATE_KEY, only the free test endpoint is available.
Returns: message_id from Resend.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient email address | |
| subject | Yes | Email subject (max 998 chars) | |
| body | Yes | Email body — HTML or plain text (max 100 KB) | |
| reply_to | No | Optional reply-to address | |
| cc | No | CC recipients — list of email addresses | |
| bcc | No | BCC recipients — list of email addresses | |
| attachments | No | File attachments (base64-encoded, max 25MB pre-encoding per file) |