© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4w ago•
1 reply
Bochelly

Email templates with Supabase branching + Vercel integration

auth🌲branchingCLI
Currently discovering the Vercel / Supabase integration, which is amazing for deploying live branches of Supabase for every environment or PR.

Overall, the integration is quite powerful but not super documented. It seems that the config.toml file works for configuring all environments, paired with
supabase/env.preview
supabase/env.preview
and
supabase/env.production files
supabase/env.production files
.

I was able to configure SMTP credentials, email templates etc.

Supabase env variables for a branch are properly passed to Vercel for each environment.

But I do not get how you get the Supabase
[auth].site_url
[auth].site_url
config field properly configured per Vercel deployment/branch, which breaks email templates.

Has anyone cracked this? I might be doing something wrong.

TLDR: can't get {{ SiteUrl }} correctly in email templates from Vercel preview deployments.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Vercel integration and Supabase branching
SupabaseSSupabase / help-and-questions
2mo ago
supabase email templates disable
SupabaseSSupabase / help-and-questions
8mo ago
Supabase Branching
SupabaseSSupabase / help-and-questions
4mo ago
supabase branching
SupabaseSSupabase / help-and-questions
4mo ago