send-email
Audited by Runlayer on Mar 4, 2026
Malicious tool definition detected
Tool passed security scan
Malicious tool definition detected
```typescript tags: [ { name: 'user_id', value: 'usr_123' }, { name: 'email_type', value: 'welcome' }, { name: 'plan', value: 'enterprise' } ] ``` **Use cases:** - Associate emails with customers in your system - Categorize by email type (welcome, receipt, password-reset) - Filter emails in the Resend dashboard - Correlate webhook events back to your application **Constraints:** Tag names and values can only contain ASCII letters, numbers, underscores, or dashes.
- Store API key in `RESEND_API_KEY` environment variable - Node.js SDK supports `react` parameter for React Email components - Resend returns `error`, `data`, `headers` in the response.
Malicious tool definition detected
", attempt+1, delay) time.Sleep(delay) } return nil, fmt.Errorf("failed after %d attempts: %w", maxRetries+1, lastErr) } // Usage client := resend.NewClient(os.Getenv("RESEND_API_KEY")) params := &resend.SendEmailRequest{ From: "Acme <onboarding@resend.dev>", To: []string{"delivered@resend.dev"}, Subject: "Order Confirmation", Html: "<p>Your order is confirmed.</p>", Headers: map[string]string{ "Idempotency-Key": fmt.Sprintf("order-confirmation/%s", orderID), }, } sent, err := sendEmailWithRetry
Tool passed security scan
Malicious tool definition detected
Tool passed security scan
Malicious tool definition detected
Description: in Resend dashboard # https://abc123.ngrok.io/webhooks/resend ``` ## Event Payload Example ```json { "type": "email.delivered", "created_at": "2024-01-15T12:00:00.000Z", "data": { "email_id": "ae2014de-c168-4c61-8267-70d2662a1ce1", "from": "Acme <noreply@acme.com>", "to": ["delivered@resend.dev"], "subject": "Welcome to Acme" } } ```
Passed Files (1)Click to expand
Tool passed security scan