FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
project logo
charmaineClerk-to-Sendgrid
Send welcome email when new users sign up
Public
Like
1
Clerk-to-Sendgrid
Home
Code
5
.vtignore
README.md
deno.json
H
email-body.tsx
H
main.tsx
Branches
1
Pull requests
Remixes
2
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.

Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.