๐งEmail Events
Overview
Why No Webhooks?
// Email dispatch is synchronous
const response = await fetch('/api/email', {
method: 'POST',
body: JSON.stringify({
from: '[email protected]',
to: ['[email protected]'],
subject: 'Hello',
template: { id: 123, data: {} }
})
});
const { success, messageId } = await response.json();
console.log('Email sent:', messageId); // Immediate resultWhat About Delivery/Opens/Clicks?
Alternative: Email Service Providers
SendGrid Webhooks
Brevo (formerly Sendinblue) Webhooks
Mailgun Webhooks
Planned Future Support
Current Workarounds
1. Use Sync Mode (Default)
2. SMTP Bounce Handling
3. Direct ESP Integration
Provider
Delivery Tracking
Opens
Clicks
Webhooks
Docs
4. Email Analytics Platforms
Async Mode (Without Webhooks)
Comparison with Webhook Services
Feature
Email
eSign
Postal
Best Practices
Track Engagement Without Webhooks
Handle Bounces
Next Steps
Getting Notified of Updates
Last updated