Skip to main content
Lovable is a platform for building web sites, tools, apps, and projects via chat. You can add Emailr in a Lovable project by asking the chat to add email sending with Emailr.

1. Add your Emailr API key

To use Emailr with Lovable, you’ll need to add a Emailr API key, which you can create in the Emailr Dashboard. Do not share your API key with others or expose it in the browser or other client-side code. Lovable may integrate Emailr in a few different ways:
  • Use the Supabase integration to store the API key (highly recommended)
  • Ask users to provide their own API key
  • Add the API key directly in the code
You may need to prompt Lovable to store the API key for Emailr using Supabase. Clicking Add API key will open a modal where you can add the API key. Screenshot placeholder
At the time of writing, Lovable does not securely handle API keys independently. Instead, it uses the Supabase integration to store secrets.

2. Add a custom domain to your Emailr account

By default, you can only send emails to your own email address. To send emails to other email addresses:
  1. Add a custom domain to your Emailr account.
  2. Add the custom domain to the from field in the emailr function in Lovable (or ask the chat to update these fields).
Get more help adding a custom domain in Emailr’s documentation.