• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
project logo

charmaine

Clerk-to-Sendgrid

Send welcome email when new users sign up
Public
Like
2
Clerk-to-Sendgrid
Home
Code
5
.vtignore
README.md
deno.json
H
email-body.tsx
H
main.tsx
Branches
1
Pull requests
Remixes
3
History
Environment variables
1
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
7/14/2025
Viewing readonly version of main branch: v19
View latest version
README.md

Clerk to SendGrid Welcome Email

Automatically sends welcome emails when new users sign up via Clerk webhooks.

Setup

  1. Set SENDGRID_API_KEY environment variable
  2. Update constants in main.tsx: FROM_EMAIL, FROM_NAME, EMAIL_SUBJECT
  3. Deploy the function
  4. Add webhook endpoint in Clerk dashboard for user.created events

Usage

Deploy newUserWelcomeEmail function and point Clerk webhook to it.

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.