> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rocket.new/llms.txt
> Use this file to discover all available pages before exploring further.

# Email templates

> Customize Supabase email templates in your Rocket.new app - brand confirmation, reset, and magic link emails.

export const LlmsDirective = () => <blockquote className="llms-directive">
    For the complete documentation index, see <a href="/llms.txt">llms.txt</a>.
    For a lightweight markdown version of this page, append .md to the URL.
  </blockquote>;

<LlmsDirective />

<Info>
  Customize the email templates Supabase sends for sign-up confirmation, password reset, and magic links. This guide covers editing subject lines and body content while keeping the required placeholders intact.
</Info>

<Warning>
  The built-in Supabase email service is intended for development use only and has rate limits. For production apps, connect a custom SMTP provider.
</Warning>

## Edit email templates in Supabase

<Steps>
  <Step title="Open the Email settings">
    1. In your Supabase project, go to **Authentication** in the left sidebar.
    2. Under **Configuration**, choose **Emails**.
    3. Switch to the **Templates** tab.

    <Frame caption="Accessing the Templates tab in Supabase">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/2lqYWidv_xVHKfL6/images/build-docs/connectors/supabase/email-templates/supabase-email-light.webp?fit=max&auto=format&n=2lqYWidv_xVHKfL6&q=85&s=6a1552eb8106f30cd69549d11de98653" alt="Supabase Email Templates tab showing configuration options for confirmation and reset emails." className="theme-image light-image" width="2880" height="1624" data-path="images/build-docs/connectors/supabase/email-templates/supabase-email-light.webp" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/2lqYWidv_xVHKfL6/images/build-docs/connectors/supabase/email-templates/supabase-email-dark.webp?fit=max&auto=format&n=2lqYWidv_xVHKfL6&q=85&s=5b78e9e26722bacb915b5b010683c785" alt="Supabase Email Templates tab showing configuration options for confirmation and reset emails." className="theme-image dark-image" width="2880" height="1624" data-path="images/build-docs/connectors/supabase/email-templates/supabase-email-dark.webp" />
    </Frame>

    You should now see templates like Confirm Signup, Magic Link, and Reset Password.
  </Step>

  <Step title="Select a template to edit">
    Click the template you want to customize, such as **Confirm signup**.
    You can update the following:

    * **Subject line**: What appears in the user's inbox.
    * **Email body**: The message content, written in HTML or plain text.

    <Note>
      Keep placeholders like `{{ .ConfirmationURL }}`. If removed, the email will not work as expected.
    </Note>
  </Step>

  <Step title="Save your changes">
    Click **Save** at the bottom of the editor.
    Then test your update by triggering that email type in Rocket. For example, sign up to test the confirmation email. The email you receive should reflect your custom content, and all links should work correctly.
  </Step>
</Steps>

## Troubleshooting

### 1. Email still shows old content

<Info>
  <b>What you will see:</b>
  You updated the template, but the email still shows the old message.
</Info>

To fix this:

* Make sure you clicked **Save** in Supabase.
* Clear your email client's cache (especially in webmail).
* Trigger a new signup or password reset. Old links will not refresh.

### 2. Links in the email are broken

<Info>
  <b>What you will see:</b>
  The email arrives, but the link is missing or unclickable.
</Info>

To fix this:

* Confirm you kept the placeholder variable like `{{ .ConfirmationURL }}` in the template.
* Double-check the **Site URL** in Supabase. It must match your Rocket app's live domain.

<Card icon="envelope" horizontal title="Branded emails that work">
  Your Rocket app now sends custom, branded emails through Supabase that look right and function reliably.
</Card>
