Use this pre-built prompt to get started faster.
Prerequisites
Before you start, you’ll need:- A Resend API key
- A verified domain
- Install Encore (
brew install encoredev/tap/encore)
Guide
Set your API key
Encore has built-in secrets management. Store your Resend API key as a secret - no
.env files needed:Send email using an API endpoint
Create an
email service directory and define your endpoint:email/email.go
AI skills for Encore Go
If you’re using an AI coding assistant, install the Encore skills. They provide context-aware help with topics such as APIs, services, Pub/Sub, databases, and auth:
Examples
Encore Go Docs
Encore Go documentation
Resend Go SDK
Resend Go SDK on GitHub