Troubleshoot Contact Form

"Email service not configured"

Cause: The RESEND_API_KEY secret is not set.

Solution:

  1. Go to Cloud → Secrets in Lovable

  2. Add the RESEND_API_KEY secret with your Resend API key

"Contact email not configured"

Cause: The CONTACT_EMAIL secret is not set.

Solution:

  1. Go to Cloud → Secrets in Lovable

  2. Add the CONTACT_EMAIL secret with your email address

Emails not arriving

Possible causes and solutions:

  1. Check spam folder - Emails from onboarding@resend.dev may be flagged as spam

  2. Domain not verified - If using a custom domain, ensure it's verified at resend.com/domains

  3. Invalid API key - Regenerate your API key and update the secret

  4. Email typo - Double-check the CONTACT_EMAIL value for typos

"Too many requests. Please try again later."

Cause: Rate limiting is active. The form allows 5 submissions per minute per user.

Solution: Wait 1 minute before trying again. This is intentional to prevent spam.

Emails going to spam

Solutions:

  1. Verify your own domain (recommended for production)

  2. Ask recipients to add your sender address to their contacts

  3. Ensure your domain has proper SPF and DKIM records (Resend provides these)

Quick Reference

Secret Name

Description

Example Value

RESEND_API_KEY

Your Resend API key

re_xxxxxxxx_xxxxxxxxxxxx

CONTACT_EMAIL

Email to receive submissions

contact@yourcompany.com

Need Help?

© Lunis Design 2026. All rights reserved.

© Lunis Design 2026. All rights reserved.

© Lunis Design 2026. All rights reserved.