GuidesSupabase
Supabase
Send your Supabase Auth emails through Rasket, from your own domain. Connect Supabase, choose your projects and a sender, and Rasket writes each project's SMTP settings for you, with nothing to copy or paste.
Coming soon: connecting Supabase is not switched on yet. This page describes it as it will ship. Until then, enter Rasket's SMTP settings in Supabase yourself, as the SMTP guide shows.
What it sets up
- Every Auth email. Sign-up confirmations, magic links, password resets, invitations and email address changes go out through Rasket instead of Supabase's built-in mailer, which sends only a few emails an hour and only to your Supabase team's own addresses.
- One key per Supabase project. Each project you choose gets its own Send only API key, named
Supabase · <project>. It can send only from the sender's domain, and nothing else: it cannot read your emails, contacts or settings. - The SMTP settings, written for you. Rasket turns on custom SMTP in the project and sets the host to
smtp.rasket.com, the port to465, the username torasket, the password to the new key, and the sender email and name to the ones you choose. - Sent from the Rasket project that owns the domain. The key lives in the Rasket project whose verified domain you send from, so the emails show in that project's Emails and Logs and count against its plan.
Before you start
- A verified, sending-enabled domain in a Rasket project you are an admin of. Supabase's emails are sent from it. The domains guide walks through verifying one.
- A verified email address on your Rasket account.
- Up to 25 Supabase projects at a time, from one Supabase organization. Connect again for more.
Connect Supabase
- In Rasket, open
/<project>/settings/integrations/supabasein the project you send from and choose Add Rasket to Supabase. - Supabase asks you to approve Rasket for one of your Supabase organizations. Choose the organization and approve. You don't need to be signed in to Rasket yet.
- Rasket opens. Sign in, or create an account. The page names the Supabase organization and lists its projects.
- Tick the projects that should send through Rasket. Nothing is ticked to begin with. For each one, check the Address before the @ (
authto begin with), Send from (one of your verified domains, shown with its Rasket project, which also decides the Rasket project that sends the emails) and the Sender name (the Supabase project's name to begin with). - Choose Connect. Rasket lists each project and the address it now sends as, and the SMTP settings it wrote. It also shows how many Auth emails an hour Supabase now allows that project; Troubleshooting below says how to raise it. Choose Go to Settings.
Finish within 30 minutes of approving on Supabase. After that the sign-in expires and nothing is written; connect again. The admins of the Rasket project get one email saying a new key was created there.
Test it
- In Rasket, open
/<project>/settings/integrations/supabaseand choose Send test email on the Supabase project. Rasket sends it to your own address, from the project's sender, exactly as Supabase's emails will go. - Sign up a new user in your app, or invite one from Supabase's Authentication page. The confirmation arrives from your sender.
- In Rasket, open Emails or Logs. The message is there with the source SMTP, with its delivery events.
Managing it
- See your connections on
/<project>/settings/integrations/supabasein each Rasket project: the Supabase projects that send from it, each sender, the start of each key and when it was connected. - Not confirmed means Supabase didn't answer when Rasket wrote the settings, so Rasket can't tell whether they were saved. An admin chooses Retry, which writes them again with a new key.
- Needs you means the project's key was revoked, so Supabase can't send. Disconnect, then connect again.
- Connecting the same Supabase project again replaces its key: the new one is saved in Supabase first, then the old one is revoked.
- Each Supabase project sends through one Rasket project. To move it, disconnect it in the project it sends from, then connect it from the other one.
Disconnect
An admin chooses Disconnect on the Supabase project in /<project>/settings/integrations/supabase. Before confirming, decide whether to keep the box Also switch this Supabase project back to Supabase's built-in mailer ticked:
- Ticked (the default): Rasket clears the custom SMTP settings it wrote, then revokes the key. Supabase goes back to its built-in mailer. Settings someone has changed since are left alone.
- Not ticked: Rasket only revokes the key. The project's Auth emails fail until you change its SMTP settings in Supabase.
A revoked key stops working at once. Keys you created yourself under API keys are not touched.
Troubleshooting
A refusal before anything is written shows under Supabase can't be added yet. Settings may have no Supabase card in its list yet, so to start again use the page at /<project>/settings/integrations/supabase.
“Verify a domain first”
None of the Rasket projects you are an admin of has a verified domain that can send yet. Supabase's emails need a sender on one. Verify a domain, then connect again.
“Each sender needs a verified domain and a simple name before the @”
Choose one of the offered domains, and put a plain address part before the @, with no spaces, quotes or second @, like auth or no-reply.
“Start again from Rasket”, “This Supabase sign-in has expired” or “Supabase didn't confirm the sign-in”
The sign-in didn't start in this browser, took longer than ten minutes to come back from Supabase, or was not finished within 30 minutes. Nothing changed in your Supabase projects. Start again.
“Supabase wasn't connected”
You chose Cancel on Supabase, so nothing changed. Connect again whenever you like.
The organization has no projects
Create a project in Supabase first, then start again. If the projects are in another Supabase organization, choose that one when Supabase asks.
“Supabase didn't answer” or “Another change … is still running”
Nothing changed. Wait a minute and try again.
“These projects were already connected from this sign-in”
The Connect went through already, for example in another tab. Check /<project>/settings/integrations/supabase.
“This Supabase project already sends through another Rasket project”
A Supabase project sends through one Rasket project at a time. Disconnect it in the Rasket project it sends from first, then connect it again.
“Supabase didn't confirm this one”
Rasket couldn't tell whether Supabase saved the settings. The project shows Not confirmed in Settings; an admin chooses Retry.
“Supabase refused the change” or “Not changed”
That project was left as it was, and any key made for it was revoked. Connect it again on its own. If Supabase keeps refusing, check that you can change the project's Authentication settings in Supabase.
Auth emails stop after a few an hour
Supabase limits how many Auth emails a project sends each hour, and lowers that limit when custom SMTP is turned on. The result screen shows the project's limit. Raise it in Supabase under Authentication → Rate Limits.
Sends are refused after connecting
A refusal naming the sender means its domain is no longer verified for sending, or the key was revoked. Check the domain in Rasket, then connect again. The errors page lists every refusal.
Prefer to set it by hand?
You can enter the same settings in Supabase yourself, with a Sending access key you create under API keys. The SMTP guide has the Supabase steps, and the settings for a project run with the Supabase CLI.