This guide helps prevent your portfolio contact form emails from going to junk/spam folders.
- ❌ Using
noreply@addresses (spam trigger) - ❌ Generic sender names like "Portfolio Contact"
- ❌ Mismatched domain names
- ❌ Excessive emojis (📧🙏💬)
- ❌ ALL CAPS text
- ❌ Spam trigger words: "Free", "Act Now", "Limited Time"
- ❌ HTML-only emails (no text version)
- ❌ Too many images or links
- ❌ Poor HTML structure
- ❌ Missing email headers
- ❌ No proper authentication
- ❌ High sending volume from new domain
// Before
from: 'Portfolio Contact <noreply@aswincloud.com>'
// After
from: 'Aswin Portfolio <contact@aswincloud.com>'// Before
subject: '📧 New Portfolio Contact from ${name}'
subject: '🙏 Thank you for contacting me!'
// After
subject: 'New Portfolio Contact from ${name}'
subject: 'Thank you for contacting me - Aswin Portfolio'headers: {
'X-Priority': '1',
'X-MSMail-Priority': 'High',
'Importance': 'high',
'X-Mailer': 'Aswin Portfolio Contact Form'
}// Admin email - reply goes to visitor
replyTo: email
// User email - reply goes to you
replyTo: process.env.CONTACT_EMAIL- Both HTML and text versions included
- Improves deliverability significantly
- Better accessibility
Set up these DNS records for aswincloud.com:
TXT @ "v=spf1 include:_spf.resend.com ~all"
Resend will provide this when you verify your domain.
TXT _dmarc "v=DMARC1; p=quarantine; rua=mailto:dmarc@aswincloud.com"
- Go to Resend Dashboard
- Add
aswincloud.comas a domain - Follow the DNS setup instructions
- Wait for verification (can take 24-48 hours)
- Start with low volume (1-2 emails per day)
- Gradually increase over 2-4 weeks
- Monitor deliverability metrics
- Check spam folder regularly
- Use tools like Mail Tester
- Monitor Resend analytics
- Use a real person's name in From field
- Include both HTML and text versions
- Add proper headers and reply-to
- Keep subject lines professional
- Use your own domain for sending
- Monitor bounce rates
- Use
noreply@addresses - Send HTML-only emails
- Use excessive emojis in subjects
- Send from free email providers
- Ignore bounce reports
- Go to mail-tester.com
- Get a test email address
- Send a test email from your contact form
- Check your score (aim for 9-10/10)
- Gmail
- Outlook/Hotmail
- Yahoo
- Apple Mail
- Business email providers
Use tools like:
Monitor these metrics in your Resend dashboard:
- Delivery rate (should be >95%)
- Bounce rate (should be <5%)
- Spam complaints (should be <0.1%)
- Check spam folders regularly
- Ask recipients to mark as "Not Spam"
- Add your sending address to contacts
- Keep your domain clean and professional
- Avoid sending marketing emails from same domain
- Use separate domains for different purposes
- Write professional, helpful content
- Avoid spam trigger words
- Keep emails concise and relevant
- Use proper email authentication
- Monitor DNS records regularly
- Keep sending infrastructure updated
If emails are still going to junk after implementing these changes:
- Wait 24-48 hours for DNS changes to propagate
- Check Resend dashboard for any warnings
- Test with different email providers
- Contact Resend support if issues persist
- Domain verified in Resend
- SPF record added to DNS
- DKIM record added to DNS
- DMARC record added to DNS
- Using professional From address
- Clean subject lines (no excessive emojis)
- Both HTML and text versions included
- Proper headers added
- Reply-to headers configured
- Testing with multiple email providers
- Monitoring deliverability metrics
Following this guide should significantly improve your email deliverability and reduce the chance of emails going to junk folders.