Overview
Emails allow your app to send authentication emails and custom app emails from your own email domain. For example:noreply@notify.yourdomain.com or noreply@yourdomain.com
Using a dedicated sending subdomain helps protect your root domain’s reputation while keeping your branding consistent.
You can customize:
- Which email domain your project uses
- The sender subdomain configuration
- Email branding and visual style
- Email templates and subject lines
Supported email types
You can send authentication emails and custom app emails.Authentication emails
Authentication emails are a type of transactional email related to account access and identity verification. They are automatically triggered by Lovable Auth, the built-in backend’s authentication, when users perform specific security-related actions. Lovable provides six built-in templates you can use:- Confirm signup
Sent when a user creates an account and email confirmation is enabled. Verifies that the user owns the email address before activating the account. - Password reset
Sent when a user requests to reset their password. Allows secure password recovery. - Invite
Sent when you invite a user to join your project (from More → Users). Grants account access through a secure invitation link. - Magic link
Sent when passwordless login is enabled and a user requests a login link. Authenticates the user without requiring a password. You can ask Lovable to enable magic link authentication if it is not already configured. - Email change
Sent when a user updates their email address. Confirms ownership of the new address before applying the change. - Reauthentication
Sent when a user must verify their identity before performing a sensitive action, such as changing a password. Typically includes a short-lived verification code. You can ask Lovable to enable reauthentication if it is not already configured.
App emails
App emails are a type of transactional email sent in response to user activity or events in your app. They are triggered by your application logic when something happens, like a purchase or update. There are no built-in templates, you decide when to send them and what they contain. Ask Lovable to add the required functionality, such as shipping notifications, order confirmations, purchase receipts, a message to you when someone submits a form, and other updates, and it will generate the templates for you. Lovable also handles unsubscribe automatically by adding an unsubscribe link to the email footer. See Generate and customize email templates for more information.Availability and usage
- Emails are available on paid plans.
- Each paid workspace includes 50,000 transactional emails per month at no additional cost. Usage is calculated across the entire workspace. Additional emails are billed 4 credits per 1000 emails.
-
Lovable limits how many emails a workspace sends per hour, with separate limits for app emails and authentication emails:
When a workspace reaches a limit, Lovable rejects new emails until the hour resets. More → Emails shows a warning once the workspace has used 80% of a limit. If you need a higher limit, contact Lovable Support. Authentication emails also have a per-project limit, Rate limit for sending emails, that you can adjust yourself. See Sending limits.
Why use emails
- Better deliverability: Emails sent from your own domain are more likely to reach the inbox instead of spam.
- More trust: Users see your domain in the
Fromaddress, reinforcing credibility. - Consistent branding: Emails match your product identity.
- Managed setup: Lovable verifies your domain and configures the required DNS records.
- Authenticated sending: Lovable automatically sets up SPF, DKIM, and DMARC to authenticate your emails and improve inbox placement.
- Continuous monitoring: Lovable keeps checking your DNS records after verification and marks the domain Offline if they change.
Prerequisites
To use emails:- Lovable sends app emails from your app’s server code. TanStack Start projects include their own server, so they don’t need the built-in backend. React + Vite projects need the built-in backend enabled, because their server code runs there. If your project is on React + Vite, you can upgrade it to TanStack Start.
- Authentication emails need the built-in backend, because Lovable sends them through Lovable Auth.
- Lovable may still send through the built-in backend for projects that first set up emails before August 14, 2026. Keep it enabled on those projects.
- Your workspace must be on a paid plan.
- You must own a domain and have access to manage its DNS settings.
- You must be a workspace admin or owner to set up, disconnect, remove, or verify email senders.
How emails work
When you configure an email domain, Lovable:- Sets up a sender, the domain or subdomain your emails are sent from, such as
notify.yourdomain.com - Guides you through DNS configuration using an automated setup flow
- Verifies your domain by checking required DNS records
- Provides six built-in branded authentication email templates that you can generate and customize
- Generates custom app email templates based on the functionality you request, such as confirmations, notifications, and updates
- Activates email delivery once DNS verification completes
Email domain scope and usage
Email domains are provisioned at the workspace level.- A workspace can have multiple email domains
- A verified domain can be used across multiple projects
- You choose the project’s email domain in More → Emails
- Only domains with status Active can send emails
- Emails can be enabled or disabled per project
Add an email domain
Select the domain you want to use for sending emails. This will be the domain your users see in their inbox. There are two ways to start:- From the project chat: Ask Lovable to set up emails and it will present a setup button. For example:
- From the Emails view: Go to More → Emails and click Get started. This takes you to the email setup flow.
Set an email domain
- Enter a domain you own, such as
yourdomain.com, or choose a suggestion in Email domain. Suggestions include domains registered through Lovable, connected website domains, and domains whose DNS Lovable manages. You can type a domain that is not listed. - Domains already configured for email show a status badge. Other suggestions show the domain name without a badge.
- Click Continue.
notify, can have at most 5 parts separated by dots. For example, notify.mail.yourdomain.com has 4 parts and works. notify.a.b.c.yourdomain.com has 6 parts, so Lovable does not accept it.Review the sender address
- For a domain registered through Lovable that uses Lovable’s nameservers, Lovable defaults to sending from the domain itself, such as
noreply@yourdomain.com. - For other new email domains, Lovable suggests a
notifysubdomain, such asnoreply@notify.yourdomain.com. You can change the prefix. - When Show as sent from @yourdomain.com is available, enable it to show
@yourdomain.comto recipients while the subdomain handles delivery. - Click Set up domain.
- Use only lowercase letters, numbers, and hyphens
- Not start or end with a hyphen
- Be between 1 and 63 characters
- Differ from the first part of your domain. For example, on
mail.yourdomain.comyou cannot use themailprefix.
Complete DNS configuration
NS records on subdomains, such as Hostinger and Wix, Lovable skips the Entri flow and shows Your DNS provider can’t hold these records. See My DNS provider doesn’t support NS records for subdomains.- Automatic setup
- Manual setup
Wait for verification
Email domain statuses
The email setup domain picker can show the following statuses:- Verifying sender: Lovable is checking the sender’s setup.
- Active: The sender is ready to send emails.
Generate and customize email templates
The Emails page includes two tabs, Auth emails and App emails, where you can preview the generated templates for your app. The Auth emails tab appears only when your project has a backend, either the built-in backend or your own Supabase project. Email templates are not generated automatically. To generate email templates:- Auth email templates
Go to the Auth emails tab and click Customize auth emails. Lovable generates six built-in branded templates. - App email templates
Ask Lovable to add the required functionality, such as notifications, confirmations, or receipts. Lovable generates the corresponding email templates. For example:Lovable also generates a template when you ask for a form that visitors use to reach you.
- From address
- Subject line
- Live preview of the email template rendered in an iframe
- Send test options, including sending a test email to your account or to a custom address.
Emails sent from newly configured domains may initially land in spam while reputation builds.
Automatic branding
When generating the email templates, Lovable applies your app’s branding automatically by:- Extracting your app’s CSS variables (primary colors, fonts, border radius)
- Detecting logo files in your app’s public and asset folders
- Uploading a detected logo to a dedicated email assets storage bucket
- Adapting email copy to match your app’s tone and language
#ffffff to ensure consistent rendering across email clients. Inner components can use your brand colors.
What you can customize
You can ask Lovable to update:- Copy and tone
- Brand colors
- Layout and structure
- Images and logo placement
- Subject lines
Edit templates manually
You can also edit the template files directly. Where they live depends on how your project was built, so ask Lovable to point you at them:- Required authentication variables and callback links must remain intact, or authentication flows will break.
- Lovable appends the unsubscribe footer to app emails. For projects created on or after July 9, 2026, Lovable also hosts the unsubscribe page. Older projects include the unsubscribe page in the app itself. Don’t add your own unsubscribe links or opt-out text to the templates.
- Templates use React Email components with inline styles, because email clients do not support external CSS.
Managing email domains
In More → Emails, use the domain dropdown to access:- Analytics and logs: View delivery metrics for the email domain and email activity for the current project using that domain.
- Domain settings: Open Project → Settings → Domains to review this project’s email sender status.
- Add domain: Choose a workspace domain or enter another domain to set up email for this project. Lovable reuses an existing sender configuration when it can.
- Disable emails (or Enable emails when emails are disabled): Enable or disable emails for the current project. When disabled, authentication emails continue sending using the default Lovable auth sender instead of your custom email domain and templates, and other app emails stop sending.
- Check again: Workspace admins and owners can request another check while the sender is still verifying or shows a warning.
- Email settings: Open this project’s Emails page.
- Disconnect from this project: Workspace admins and owners can clear this project’s email setup without removing the workspace sender. The sender stays available to the workspace and its other projects. See What happens if I delete an email domain? for what changes in this project.
- Remove sender: Workspace admins and owners can remove the sender from the whole workspace, including its use by other projects.
Analytics and logs
The analytics and logs view shows delivery metrics for the connected domain over 7, 30, or 90 days, and a log of recent emails sent for the current project.- Metrics cards:
- Sent: Emails accepted and queued for delivery
- Delivered: Emails successfully delivered to recipient inboxes
- Bounced: Emails rejected by the recipient mail server
- Delivery chart: Delivered and failed emails for the email domain, per hour for the 7-day range and per day for longer ranges. Hover over any point to see the exact counts.
- Email activity log: An expandable list of recent emails sent for the current project, showing recipient, status, type, and time, with execution traces and error messages for failures.
Email deliverability best practices
When sending emails from a new domain, inbox placement may take time to stabilize. Inbox providers evaluate sender reputation over time based on engagement, authentication, and sending patterns. Follow these practices to improve deliverability and build a strong sender reputation.Warm up new domains gradually
Warm up new domains gradually
- Authentication emails: Signups, password resets, email verifications
- App emails: Order confirmations, shipping notifications, account updates
- First few days: Test emails may land in spam
- First few weeks: Deliverability improves as legitimate traffic builds reputation
- First few months: Reputation stabilizes with consistent, engaged sending
- Start sending with normal authentication traffic (user signups, password resets)
- Let volume grow naturally as your user base expands
- Add app emails gradually as transaction volume grows
- Maintain consistent sending patterns over weeks and months
- Ensure emails are expected and triggered by real user actions
- Mark legitimate emails as “Not spam” in your inbox
- Sudden large spikes in email volume from a brand-new domain
- Sending bulk test emails immediately after setup
- Inconsistent sending (long gaps followed by sudden bursts)
- Panic-driven changes to domains or sender identity
Ensure domain authentication is valid
Ensure domain authentication is valid
SPF, DKIM, and DMARC when you set up your email domain.If DNS records are modified or misconfigured, authentication can fail and emails may land in spam.Always confirm the domain status is Active in More → Emails.Send only legitimate, user-triggered emails
Send only legitimate, user-triggered emails
- Order confirmations: Only to the customer who placed the order
- Shipping notifications: Only to customers with active shipments
- Account updates: Only to users who made changes or need to be notified
- Email addresses that previously bounced
- Users who unsubscribed from non-essential notifications
- Inactive or closed accounts
Keep authentication and app emails strictly transactional
Keep authentication and app emails strictly transactional
- Use straightforward subject lines (“Reset your password”, “Verify your email”)
- Include all necessary details (order numbers, tracking links, amounts, dates)
- Clearly explain what the user needs to do
- Match the email to the action the user took
- Adding marketing content or upsells to auth emails
- Misleading or clickbait subject lines
- Promotional language in authentication emails
Maintain consistent sender identity
Maintain consistent sender identity
- From address
- Sender name
- Domain
Include unsubscribe options in app emails
Include unsubscribe options in app emails
Avoid spam-trigger formatting
Avoid spam-trigger formatting
- Use clear, descriptive subject lines (“Your order has shipped”, “Reset your password”)
- Keep formatting simple and clean
- Use a balanced text-to-image ratio
- Include your brand name and a recognizable sender address
- Ensure links in the email match your sending domain whenever possible
- Use ALL CAPS in subject lines
- Add excessive punctuation (!!!)
- Create misleading subject lines
- Use image-heavy layouts
- Link to unrelated or mismatched domains
yourdomain.com, links inside the email should ideally point to yourdomain.com or its subdomains. Mismatched domains are commonly used in phishing attacks and may trigger spam filtering.Clear, predictable formatting and domain alignment improve trust and engagement.Monitor bounce rates and complaints
Monitor bounce rates and complaints
- Sent
- Delivered
- Bounced
- Review how email addresses are collected
- Validate inputs at signup
- Avoid retrying failed deliveries repeatedly
Limit internal testing
Limit internal testing
- Inbox providers evaluate engagement signals from all emails you send
- Repeated test emails to the same address create artificial traffic patterns
- Bouncing test emails to fake addresses damages your reputation
- Send a few test emails to yourself or your team
- Use real email addresses you control
- Avoid sending large batches of test emails
If emails land in spam
If emails land in spam
- Confirm the domain status is Active
- Ensure DNS records are correctly configured
- Review subject lines and content
- Check bounce rates in Analytics and logs
- Reduce sudden spikes in sending volume
- Be patient. New domains need time to build trust with inbox providers
Encourage positive engagement signals
Encourage positive engagement signals
- Open the email
- Click the verification or reset link
- Complete the intended action
- Open order confirmations to check details
- Click tracking links in shipping notifications
- Interact with account update information
Keep emails small and accessible
Keep emails small and accessible
- Optimize images before embedding them in app emails
- Avoid large embedded images in receipts or order confirmations
- Keep order details and transaction information concise
- Consider linking to images hosted on your domain instead of embedding large files
Avoid aggressive tracking for transactional emails
Avoid aggressive tracking for transactional emails
Understanding inbox provider algorithms
Understanding inbox provider algorithms
- Sender authentication: Are
SPF,DKIM, andDMARCconfigured correctly? (Lovable handles this automatically) - Sender reputation: What’s your history of bounces, complaints, and engagement?
- Content quality: Are subject lines clear? Is formatting clean? Do links match your domain?
- Engagement signals: Do users open emails? Click links? Reply? Or mark them as spam
- Sending patterns: Are you sending consistently? Or in sudden bursts?
Troubleshooting
Email domain is stuck in "Pending" or "Verifying"
Email domain is stuck in "Pending" or "Verifying"
- DNS records not fully propagated
NSdelegation incorrectTXTverification record missing- DNS configured on wrong domain level
NSrecords for a parent domain, for examplehello.yourdomain.com, already point to Lovable nameservers, so the sender subdomain’s records are never found
- Open the domain in Workspace settings → Workspace domains and expand the sender under Email to inspect its DNS records
- Confirm records were added to the correct root domain
- Wait up to 72 hours for propagation
- Open Project → Settings → Domains, then select Check again from the email sender’s three dots menu instead of waiting for the next scheduled check
Domain verification is stuck or shows "Failed"
Domain verification is stuck or shows "Failed"
- Go to Project → Settings → Domains and select Check again from the email sender’s three dots menu. Lovable checks the sender’s setup again. Allow up to 72 hours for verification to complete.
- If the sender is still stuck, select Remove sender from the same menu and confirm. Wait for the sender to disappear, then set up the domain again from More → Emails. If Lovable says removal is still in progress, wait before trying again.
- Follow the new setup instructions and compare every record shown with the records at your DNS provider. Keep matching records and update any that differ. Do not assume the records stay unchanged after removing and re-adding a sender.
- After the sender is ready, reconnect each affected project from More → Emails and check delivery. Ask a workspace owner to restore setup for projects you cannot access.
- If the domain is still stuck after you re-add it, contact Lovable Support.
Setup shows "Send path not ready" or "Timed out waiting for email delivery path verification"
Setup shows "Send path not ready" or "Timed out waiting for email delivery path verification"
- Select Retry setup in the progress panel.
- If Retry setup fails again, contact Lovable Support and include the domain name. Don’t delete the domain or change your DNS records in the meantime.
Domain is already in use or managed by another account or workspace
Domain is already in use or managed by another account or workspace
- If you’re an admin or owner of both workspaces, add the domain again in the workspace where setup failed. Lovable removes the sender domain from the other workspace and retries the setup. If Lovable says the domain becomes available later, wait and add it again then.
- If another project in the other workspace still uses the sender domain, including a deleted project that can still be restored, Lovable can’t remove it. The error message names that project. Switch that project to another domain first, then try again.
- If you’re a member of the other workspace but not an admin or owner, ask one of its admins or owners to remove the sender there. See What happens if I delete an email domain?.
- If you aren’t a member of the other workspace, if setup fails with This subdomain is already in use, or if none of these steps work, contact Lovable Support and ask them to release the domain.
- After the domain is released, add it again through the manual setup flow. If the email sender already appears in Project → Settings → Domains with an error, select Check again from its three dots menu instead. If Lovable shows This domain is still being removed, wait a few minutes and try again. If the records shown match your existing DNS records, you don’t need to change them.
My DNS provider doesn't support NS records for subdomains
My DNS provider doesn't support NS records for subdomains
NS records for the sender subdomain, for example notify, at your DNS provider. These records delegate the subdomain to Lovable, which lets Lovable create and maintain the SPF, DKIM, and DMARC records for it. Lovable has no alternative verification method:TXT,CNAME, orMXrecords on the root domain cannot replace theNSrecords.- The manual setup flow replaces only the automated Entri flow. It requires the same
NSandTXTrecords. - Use exactly the nameservers shown in Lovable. Verification fails with any other nameservers.
- Choosing a different sender subdomain or enabling Show as sent from @yourdomain.com doesn’t remove the requirement.
- Move the domain’s DNS to a provider that supports subdomain
NSrecords, such as Cloudflare. Your domain can stay registered with your current registrar. Recreate your existing DNS records at the new provider before switching to its nameservers, then run the email setup again. - Alternatively, transfer the domain to Lovable and Lovable manages its DNS for you.
Domain status shows Offline
Domain status shows Offline
- Open the domain in Workspace settings → Workspace domains and expand the sender under Email to inspect its DNS records
- Restore missing
NSorTXTrecords - Open Project → Settings → Domains and select Check again from the email sender’s three dots menu
Domain status shows "Removed"
Domain status shows "Removed"
Emails are not sending
Emails are not sending
- Email domain is linked to your project
- Domain status is Active
- Emails are enabled for the project
- For authentication emails: Lovable Auth is enabled, and you are triggering a supported auth event type
- The correct edge function is deployed
- Your workspace has not reached its hourly sending limit. See Availability and usage.
High bounce rates in analytics
High bounce rates in analytics
- Invalid email addresses
- Typos during signup
- Repeated retries to invalid addresses
Test emails are landing in spam
Test emails are landing in spam
My email template changes are not showing
My email template changes are not showing
- On older React + Vite apps, ask Lovable to redeploy your email templates.
- On newer apps built with TanStack Start, publish your app to apply the change.
Use external tools to investigate deliverability issues
Use external tools to investigate deliverability issues
- Google Postmaster Tools
View sender reputation, spam rates, and authentication alignment for Gmail recipients. - Yahoo Sender Hub
Monitor complaint rates and sender reputation for Yahoo inboxes. - Spamhaus blocklist lookup
Check whether your domain, IP address, or email URLs appear on major blocklists. - Google Safe Browsing
Test links used in your emails to ensure they are not flagged as unsafe.
FAQ
What is the difference between authentication emails and app emails?
What is the difference between authentication emails and app emails?
Can Lovable email me when someone submits a form?
Can Lovable email me when someone submits a form?
Do I need to set up different domains for authentication and app emails?
Do I need to set up different domains for authentication and app emails?
Can I send marketing emails?
Can I send marketing emails?
Do emails require the built-in backend?
Do emails require the built-in backend?
Do I need a custom web domain to use an email domain?
Do I need a custom web domain to use an email domain?
Can I use a subdomain for email sending?
Can I use a subdomain for email sending?
notify.yourdomain.com. The email setup flow shows the sender address before you confirm.When Show as sent from @yourdomain.com is available, you can display your root domain to recipients while the subdomain handles delivery.Using a dedicated email subdomain is recommended because it helps protect your root domain’s reputation.Do I need an external email provider like SendGrid or Resend?
Do I need an external email provider like SendGrid or Resend?
SPF, DKIM, and DMARC, and delivery infrastructure. You do not need to manage API keys or third-party email provider accounts.What are SPF, DKIM, and DMARC, and do I need to configure them?
What are SPF, DKIM, and DMARC, and do I need to configure them?
SPF, DKIM, and DMARC are email authentication standards that help inbox providers verify that your emails are legitimate and not spoofed.When you send an email, providers such as Gmail or Outlook check that:- The email is authorized to be sent from your domain
- The message has not been altered in transit
- The domain owner has defined a policy for handling suspicious emails
- SPF (Sender Policy Framework): Authorizes which servers can send email for your domain
- DKIM (DomainKeys Identified Mail): Cryptographically signs emails to prevent tampering
- DMARC (Domain-based Message Authentication, Reporting, and Conformance): Defines how providers handle failed authentication and protects against spoofing
How many emails are included per month?
How many emails are included per month?
Can I use emails on the free plan?
Can I use emails on the free plan?
How long does DNS verification take?
How long does DNS verification take?
Why are my emails going to spam?
Why are my emails going to spam?
• Ensure DNS records have not changed
• Avoid sudden spikes in sending volume
• Avoid spam-trigger formatting
• Check bounce rates in Analytics and logsDeliverability improves over time with consistent, legitimate user activity.
Can I customize the email templates?
Can I customize the email templates?
- Copy and tone
- Brand colors
- Layout and structure
- Logos and images
- Subject lines
#ffffff) to ensure consistent rendering across email clients. Inner components can use your brand colors.What happens if I disable emails?
What happens if I disable emails?
What happens if I delete an email domain?
What happens if I delete an email domain?
- Disconnect from this project, on the sender row in Project → Settings → Domains, clears this project’s email setup. The sender stays configured for the workspace and other projects. Lovable sends authentication emails from its default sender. App code that explicitly uses the sender can still send from it.
- Remove sender, on the sender row or in the workspace domain’s Email section, removes one sender for the whole workspace. Lovable clears its use from project settings, including projects you cannot access. The confirmation lists only affected projects you can access. Other senders remain configured.