Project: savemytime-ai-platform Vercel URL: https://vercel.com/infoheaveninteractive-2456s-projects/savemytime-ai-platform Domain: savemytime.bg (Super Hosting) Email: info@savemytime.bg (Hostinger) Phone: 0875354887 Date: January 20, 2026
Objective: Connect custom domain savemytime.bg to Vercel project and configure email notifications for contact form submissions.
Current State:
- ✅ Vercel project deployed
- ❌ Custom domain not connected
- ❌ Contact form saves to database but doesn't send emails
- ❌ Old phone number (+359 888 123 456)
- ❌ Old email (info@savemytime.dev)
Target State:
- ✅ Custom domain savemytime.bg pointing to Vercel
- ✅ Contact form submissions sent to info@savemytime.bg
- ✅ Updated phone number: 0875354887
- ✅ Updated email: info@savemytime.bg
Navigate to Vercel Dashboard:
- Go to: https://vercel.com/infoheaveninteractive-2456s-projects/savemytime-ai-platform
- Click Settings → Domains
- Click Add button
- Enter:
savemytime.bg - Click Add
Vercel will provide DNS records:
Type: A
Name: @ (or savemytime.bg)
Value: 76.76.21.21
Type: CNAME
Name: www
Value: cname.vercel-dns.com
Access Super Hosting DNS Management:
- Log in to Super Hosting control panel
- Navigate to Domain Management
- Select
savemytime.bg - Go to DNS Zone Editor
Add/Update DNS Records:
Step 1: Remove existing A records (if any)
- Delete old A record pointing to old server
Step 2: Add Vercel A record
Type: A
Host: @ (or leave blank for root domain)
Points to: 76.76.21.21
TTL: 3600 (or Auto)
Step 3: Add Vercel CNAME for www
Type: CNAME
Host: www
Points to: cname.vercel-dns.com.
TTL: 3600
Step 4: Preserve email MX records (CRITICAL) Ensure these Hostinger MX records remain intact:
Type: MX
Priority: 10
Host: @
Points to: mx1.hostinger.com
Type: MX
Priority: 20
Host: @
Points to: mx2.hostinger.com
Step 5: Preserve email SPF record (if exists)
Type: TXT
Host: @
Value: v=spf1 include:_spf.mx.hostinger.com ~all
- Initial DNS propagation: 15-30 minutes
- Full global propagation: 24-48 hours
- Vercel SSL certificate: Automatic after domain verification (5-15 minutes)
Check DNS Propagation:
# Check A record
dig savemytime.bg +short
# Should return: 76.76.21.21
# Check CNAME
dig www.savemytime.bg +short
# Should return: cname.vercel-dns.com.
# Check MX records
dig savemytime.bg MX +short
# Should return: mx1.hostinger.com and mx2.hostinger.comOnline Tools:
- https://dnschecker.org - Check global DNS propagation
- https://mxtoolbox.com - Verify email configuration
Current Implementation:
- Contact form saves to Supabase database (✅ Works)
- NO email sending functionality (❌ Missing)
- User sees success message but owner doesn't receive notification
Solution Options:
Why Resend:
- ✅ Simple API
- ✅ 3,000 emails/month free
- ✅ Excellent deliverability
- ✅ React Email templates support
- ✅ Works great with Vercel
- ✅ No SMTP complexity
Setup Steps:
- Create account at https://resend.com
- Verify domain or use Resend domain
- Add API key to Vercel environment
- Install Resend library
- Create Supabase Edge Function to send emails
- Update contact form to trigger function
Why Hostinger SMTP:
- ✅ Already have email hosted
- ✅ No third-party dependency
- ✅ Direct sending from info@savemytime.bg
- ❌ Requires SMTP credentials
- ❌ More complex setup
- ❌ Potential rate limits
Setup Steps:
- Get SMTP credentials from Hostinger
- Create Supabase Edge Function with Nodemailer
- Store credentials securely
- Configure email sending
Why SendGrid:
- ✅ Very reliable
- ✅ 100 emails/day free
- ✅ Advanced features
- ❌ More complex than Resend
- ❌ Requires API key management
Step 1: Create Resend Account
- Go to https://resend.com
- Sign up with email
- Verify email address
Step 2: Get API Key
- Go to Dashboard → API Keys
- Click Create API Key
- Name: "SaveMyTime Production"
- Copy the API key (starts with
re_) - SAVE THIS KEY - shown only once
Example: re_abc123xyz789def456ghi012jkl345mno
Step 3: Domain Verification (Optional but Recommended)
Option 3a: Verify savemytime.bg
- Resend Dashboard → Domains → Add Domain
- Enter:
savemytime.bg - Resend provides DKIM, SPF, DMARC records
- Add these to Super Hosting DNS
- Verify in Resend
Records to add to Super Hosting:
Type: TXT
Host: resend._domainkey
Value: [Resend provides this]
Type: TXT
Host: @
Value: [Resend SPF record - merge with existing]
Type: TXT
Host: _dmarc
Value: [Resend DMARC record]
Option 3b: Use Resend's Domain (Easier)
- Send from:
noreply@resend.dev(on your behalf) - No DNS setup needed
- Reply-to: info@savemytime.bg
- This works immediately
Add to Vercel:
- Vercel Dashboard → Settings → Environment Variables
- Add new variable:
Key: RESEND_API_KEY
Value: re_abc123xyz789def456ghi012jkl345mno
Environments: ☑ Production ☑ Preview ☑ Development
Install Resend:
cd ~/savemytime-ai-platform
npm install resendCreate Supabase Edge Function:
supabase/functions/send-contact-email/index.ts
import { serve } from "https://deno.land/std@0.168.0/http/server.ts"
import { Resend } from 'npm:resend@2.0.0'
const resend = new Resend(Deno.env.get('RESEND_API_KEY'))
serve(async (req) => {
// CORS headers
if (req.method === 'OPTIONS') {
return new Response('ok', {
headers: {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'POST',
'Access-Control-Allow-Headers': 'authorization, x-client-info, apikey, content-type',
},
})
}
try {
const { name, email, phone, company, message } = await req.json()
// Send email via Resend
const data = await resend.emails.send({
from: 'SaveMyTime <noreply@resend.dev>',
to: ['info@savemytime.bg'],
replyTo: email,
subject: `Нова заявка от ${name}`,
html: `
<h2>Нова заявка за консултация</h2>
<p><strong>Име:</strong> ${name}</p>
<p><strong>Email:</strong> ${email}</p>
<p><strong>Телефон:</strong> ${phone || 'Не е посочен'}</p>
<p><strong>Компания:</strong> ${company || 'Не е посочена'}</p>
<p><strong>Съобщение:</strong></p>
<p>${message || 'Няма съобщение'}</p>
`,
})
return new Response(JSON.stringify(data), {
headers: {
'Content-Type': 'application/json',
'Access-Control-Allow-Origin': '*',
},
})
} catch (error) {
return new Response(JSON.stringify({ error: error.message }), {
status: 400,
headers: {
'Content-Type': 'application/json',
'Access-Control-Allow-Origin': '*',
},
})
}
})Update Contact Form:
In src/pages/Contact.tsx, add after Supabase insert:
// Send email notification
try {
await supabase.functions.invoke('send-contact-email', {
body: {
name: data.name,
email: data.email,
phone: data.phone || '',
company: data.company || '',
message: data.message || ''
}
});
} catch (emailError) {
console.error("Email sending failed:", emailError);
// Don't fail the whole submission if email fails
}Deploy Edge Function:
cd ~/savemytime-ai-platform
npx supabase functions deploy send-contact-emailAdd Resend Secret to Supabase:
- Supabase Dashboard → Project Settings → Edge Functions → Secrets
- Add new secret:
- Name:
RESEND_API_KEY - Value:
re_abc123xyz789def456ghi012jkl345mno
- Name:
- Save
Old: +359 888 123 456 New: 0875354887 (Bulgarian mobile format)
Files to update:
src/pages/Contact.tsx(line 107, 108)src/components/Footer.tsxorsrc/components/layout/Footer.tsxsrc/components/home/CTASection.tsx(if exists)src/i18n/locales/bg.jsonsrc/i18n/locales/en.jsonsrc/i18n/locales/es.jsonsrc/i18n/locales/ru.jsonindex.html(meta tags)public/legal/privacy-policy.mdpublic/legal/cookie-policy.mdpublic/legal/terms-of-service.md
Format variations:
- Display:
0875 354 887(with spaces) - Tel link:
tel:+359875354887(international format)
Old: info@savemytime.dev New: info@savemytime.bg
Files to update: (same list as phone)
Update all references from:
savemytime-ai-platform.vercel.app→savemytime.bgsavemytime.dev→savemytime.bg
Test Checklist:
- Visit http://savemytime.bg (should redirect to HTTPS)
- Visit https://savemytime.bg (should load site)
- Visit https://www.savemytime.bg (should work)
- Check SSL certificate (should be valid)
- Test on mobile devices
- Test from different countries/ISPs
Test Scenarios:
Test 1: Basic Email Delivery
- Fill contact form on savemytime.bg
- Submit with test data
- Check info@savemytime.bg inbox
- Verify email received
- Check sender, reply-to, subject, content
Test 2: Reply Functionality
- Reply to contact email
- Should go to original sender's email
- Verify reply-to header works
Test 3: Error Handling
- Submit form with Resend API down
- Verify form still saves to database
- Verify user sees appropriate message
Test 4: Spam Filtering
- Check if emails land in spam
- If yes, adjust SPF/DKIM/DMARC
- Ask Hostinger to whitelist sender
Test Checklist:
- Click phone number on desktop (should offer to call)
- Click phone number on mobile (should open dialer)
- Verify correct number displayed: 0875 354 887
- Verify tel: link is +359875354887
- Test in all language versions (BG, EN, ES, RU)
- URL: https://vercel.com/infoheaveninteractive-2456s-projects/savemytime-ai-platform
- Team: infoheaveninteractive-2456s-projects
- Project: savemytime-ai-platform
- Domain: savemytime.bg
- Provider: Super Hosting
- DNS Management: [Need login credentials from user]
- Action Required: Login to control panel → DNS Zone Editor
- Email: info@savemytime.bg
- Provider: Hostinger
- Webmail: https://webmail.hostinger.com
- SMTP Server: smtp.hostinger.com
- IMAP Server: imap.hostinger.com
- Action Required: Check email works, get SMTP credentials (if using Option B)
- Website: https://resend.com
- Action Required: Create account, get API key
- API Key: Store in Vercel environment variables
- Project: [Linked to savemytime-ai-platform]
- Action Required: Add Resend API key to Edge Function secrets
- 1.1 Add domain in Vercel
- 1.2 Note down Vercel DNS records
- 1.3 Log in to Super Hosting
- 1.4 Update A record to 76.76.21.21
- 1.5 Add CNAME for www → cname.vercel-dns.com
- 1.6 Verify MX records for email remain intact
- 1.7 Wait 15-30 minutes for propagation
- 1.8 Test domain access
- 1.9 Verify SSL certificate
- 2.1 Create Resend account
- 2.2 Get API key
- 2.3 Add API key to Vercel environment variables
- 2.4 Install resend package
- 2.5 Create Edge Function code
- 2.6 Deploy Edge Function to Supabase
- 2.7 Add Resend API key to Supabase secrets
- 2.8 Update Contact form to call function
- 3.1 Update phone number to 0875354887
- 3.2 Update email to info@savemytime.bg
- 3.3 Update domain references
- 3.4 Commit changes to git
- 3.5 Deploy to Vercel
- 4.1 Test domain access (http, https, www)
- 4.2 Test contact form submission
- 4.3 Check email received at info@savemytime.bg
- 4.4 Test phone number clicks
- 4.5 Verify all pages load correctly
- 4.6 Test on mobile device
Total Time: ~90 minutes
Symptoms: savemytime.bg doesn't load, shows error
Solutions:
- Check DNS propagation: https://dnschecker.org
- Verify A record points to 76.76.21.21
- Clear DNS cache:
ipconfig /flushdns(Windows) orsudo dscacheutil -flushcache(Mac) - Wait longer (up to 48 hours)
- Contact Super Hosting support
Symptoms: Form submits but no email arrives
Solutions:
- Check Resend dashboard for delivery status
- Check spam folder
- Verify API key is correct in Vercel
- Check Supabase Edge Function logs
- Test with different email address
- Verify MX records:
dig savemytime.bg MX +short
Symptoms: HTTPS not working, certificate warning
Solutions:
- Wait 15 minutes after domain verification
- Go to Vercel → Settings → Domains → Refresh SSL
- Ensure domain is properly verified
- Contact Vercel support if persists
Symptoms: Emails delivered but in spam folder
Solutions:
- Verify Resend domain (add DKIM records)
- Add SPF record to Super Hosting DNS
- Ask recipient to mark as "Not Spam"
- Contact Hostinger to whitelist sender IP
- Consider using full domain verification with Resend
Symptoms: Clicking phone doesn't open dialer
Solutions:
- Verify tel: link format is correct:
tel:+359875354887 - Test on different mobile browsers
- Check for JavaScript errors
- Ensure no CSS preventing click
- Dashboard: https://vercel.com/help
- Documentation: https://vercel.com/docs
- Website: [Super Hosting website]
- Email: [Support email]
- Phone: [Support phone]
- Website: https://www.hostinger.com
- Help Center: https://support.hostinger.com
- Live Chat: Available 24/7
- Documentation: https://resend.com/docs
- Support: support@resend.com
- Status: https://status.resend.com
✅ savemytime.bg loads the website ✅ www.savemytime.bg works ✅ HTTPS with valid SSL certificate ✅ No redirect loops or errors
✅ Contact form submissions arrive at info@savemytime.bg ✅ Email contains all form data ✅ Reply-to works correctly ✅ Emails don't go to spam
✅ Phone number shows: 0875 354 887 ✅ Tel link format: +359875354887 ✅ Email shows: info@savemytime.bg ✅ All references to old domain/email updated
✅ Website accessible at custom domain ✅ Contact form fully functional ✅ Email notifications working ✅ All contact information updated ✅ No broken links or errors
Immediate (Today):
- Create Resend account
- Add Vercel domain
- Update Super Hosting DNS
Day 1-2:
- DNS propagation
- SSL certificate generation
- Test domain access
Day 2-3:
- Implement email sending
- Deploy Edge Function
- Test email delivery
Day 3:
- Update all content
- Final testing
- Go live
Total: 3-4 days for complete setup and verification
DNS Management:
Email Deliverability:
- https://www.mail-tester.com - Test email score
- https://mxtoolbox.com/SuperTool.aspx - Email diagnostics
Monitoring:
- https://uptimerobot.com - Monitor domain uptime
- https://www.ssllabs.com/ssltest/ - Test SSL configuration
This plan provides a complete, step-by-step guide to connect the domain, set up email delivery, and update all content. Ready to execute! 🚀