Prerequisites
Before you start, you’ll need:- A Resend API key
- A verified domain
Guide
1
Create a Deno Deploy project
Go to dash.deno.com/projects and create a new playground project.

2
Edit the handler function
Paste the following code into the browser editor:
main.ts
3
Deploy and send email
Click on 
Save & Deploy at the top of the screen.
Examples
Deno Deploy Example
See the full source code.