Get started – Mailtrap SMTP x Supabase
With Mailtrap SMTP, you can move beyond Supabase's limit of 2 emails per hour to a production-ready email-sending solution with comprehensive analytics.
In this article, I’ll show you how to obtain the Mailtrap SMTP credentials and how to update them in Supabase. Let’s dive in!
Step 1. Obtain your sending credentials
I assume you’ve already set up your sending domain. If you haven’t, you’ll need to do it before we start—it takes ~5 minutes, and you can use our step-by-step article as a guide.
With a verified domain in place:
- Go to Sending Domains and select your inbox.
- Click on Integration, select Transactional Stream, and hit Integrate.
- Under the SMTP tab, you can find your sending credentials, which include Host, Port, Username, and Password.
Step 2. Update the SMTP server in Supabase
- Open your Supabase project dashboard and select your project.
- Click on Authentication → SMTP settings.
- Click on Emails → SMTP Settings and tick the Enable Custom SMTP box.
- Update Host, Port, Username, and Password, like in the screenshot below, and hit Save changes.
Step 3. Create a new account in your app
- Open your app/project and try to create an account.
- In the example below is my demo FlatterFlow app I created for the purposes of this demo.
- Or, you can simulate new user registration by clicking on Add user in Supabase.
Step 4. Monitor your email performance
Now, once you send any emails from your Supabase project, they should arrive both in your recipient’s inbox as well as your Mailtrap Email Logs. There, you can see a plethora of useful information, such as delivery time, opens/clicks, your email in source HTML, spam analysis, and more.
You can read more about Mailtrap Email Logs in our dedicated article. ⬅️
Additionally, you’ll be able to see all the important stats regarding your sent emails, such as opens, clicks, bounces, etc.
For more information on Mailtrap Analytics, click here.