Get started quickly
Quickstart
Send your first email in minutes
API Reference
Explore the complete SDK documentation
Examples
Browse working code examples
GitHub
View source code and contribute
Key features
The Resend Go SDK offers comprehensive functionality for modern email operations:Email sending
Send transactional emails with rich content support including HTML, plain text, attachments, and inline images. Support for CC, BCC, reply-to, and custom headers.Batch operations
Send multiple emails in a single API call with configurable validation modes. Choose between strict validation (all-or-nothing) or permissive mode (partial success) based on your needs.Template management
Create, manage, and use email templates with variable substitution. Define templates once and reuse them across your application with dynamic content.Domain management
Manage your sending domains, verify DNS records, and monitor domain health directly through the SDK.Contact management
Organize your contacts into audiences and segments. Manage contact properties, topics, and preferences for targeted email campaigns.Broadcast emails
Send marketing and promotional emails to audiences and segments. Track broadcast performance and manage campaign scheduling.Webhooks
Receive real-time notifications about email events including delivery, bounces, opens, and clicks. Verify webhook signatures for secure event processing.Email scheduling
Schedule emails for future delivery, update scheduled emails, or cancel them before they’re sent.Context support
All SDK methods support Go’s context package for cancellation, timeouts, and request-scoped values.Why Resend?
High performanceBuilt for scale with efficient HTTP client management and minimal dependencies
Type safeStrongly-typed API with comprehensive error handling
Easy integrationSimple API design with sensible defaults and flexible configuration
Open sourceMIT licensed with active development and community support
Next steps
Install the SDK
Follow the installation guide to add the SDK to your project
Send your first email
Complete the quickstart to send your first email
Explore features
Browse the examples to learn advanced features