Skip to content

Postmark ​

Use Postmark if your hosted app sends email, such as workspace invitations. You can also use it for Supabase sign-in emails. Local development uses Mailpit.

Connect Postmark ​

In Cloud → Postmark, add a Postmark server token and a verified sender address. Desktop stages the token as a Fly secret and saves the address in the Fly TOML file. Deploy to apply the settings.

Find the Postmark values

Copy the Server API Token from the server's API Tokens tab. In Sender Signatures, verify a sender address or domain, then use an address covered by that verification. Postmark sender verification

For manual configuration, set POSTMARK_SERVER_TOKEN and POSTMARK_FROM_EMAIL in the backend environment.

Send sign-in emails ​

In Cloud → Supabase → Sign-in email, choose Set up email hook to use the app's Postmark connection. Use the prefix saved as WEBHOOK_PATH_PREFIX to copy the hook URL. Save the hook signing secret and deploy before enabling the hook in Supabase. Sign-in email then depends on the backend being available.

For delivery directly from Supabase, choose Alternative: direct SMTP. Direct SMTP setup

Configure the Send Email hook manually

Keep Supabase's Email Provider enabled. Prepare a Send Email HTTP hook at API_BASE_URL/<WEBHOOK_PATH_PREFIX>/webhooks/supabase-auth-email. Apps without a prefix use API_BASE_URL/webhooks/supabase-auth-email. Save the whole signing secret, including the v1,whsec_ prefix, as SUPABASE_AUTH_EMAIL_HOOK_SECRET. Deploy it with the Postmark settings, then enable the hook and request a sign-in email. Supabase Auth Hooks