Use this pre-built prompt to get started faster.
Prerequisites
To get the most out of this guide, you’ll need to:- Create an API key
- Verify your domain
- Install Encore (
brew install encoredev/tap/encore)
1. Create an Encore app
2. Set your API key
Encore has built-in secrets management. Store your Resend API key as a secret - no.env files needed:
3. Send email using an API endpoint
Create anemail service directory and define your endpoint:
email/email.go
4. Run the app
http://localhost:4000. Send a test email:
5. AI skills for Encore Go
If you’re using an AI coding assistant, install the Encore skills for context-aware help with APIs, services, Pub/Sub, databases, auth, and more:6. Try it yourself
Encore Go Docs
Encore Go documentation
Resend Go SDK
Resend Go SDK on GitHub