Lovable·Fixdeploybeginner

Contact Form Not Sending Emails in Lovable

Quick Answer

Lovable saves form data to Supabase but doesn't send emails by default. You need to add an email service. Start with "Add Resend for email notifications" before making broader code changes.

You're in the right place if...

  • !Form submits to database but no email notification
  • !Client never knows when someone contacts them

Why this happens

Lovable saves form data to Supabase but doesn't send emails by default. You need to add an email service.

Fix

1

Add Resend for email notifications

Tell Lovable to add email notifications:

Copy this prompt

Add email notifications when the contact form is submitted. Use Resend to send an email to [your@email.com] with the form submission details.

Add RESEND_API_KEY to environment variables.
2

Add env var to Vercel

After Lovable generates the code, add your Resend API key to Vercel:

RESEND_API_KEY=re_...

Prevent this next time

When building a contact form, always include 'send email notification to [email] on form submit' in your prompt.

Frequently Asked Questions

Yes. Free tier includes 3,000 emails/month and 100 emails/day — plenty for most contact forms.

Not recommended. Gmail has strict sending limits and emails often go to spam. Use Resend for reliability.

Related fixes

Weekly Newsletter

Get next week's fix before you need it.

Join developers getting weekly vibe coding tips, error fixes, and tool updates.

Subscribe on Substack →