Configuration
Email Providers
Pietru works with popular transactional email providers.
Supported Providers
- Postmark
- SendGrid
- Mailgun
- Resend
Setting Up a Provider
Postmark
- In Postmark, go to Settings → Webhooks
- Add a webhook URL:
https://api.pietru.dev/webhook/postmark - Select events:
Message Sent,Message Bounced,Message Opened - Use your project’s webhook secret to sign requests
SendGrid
- In SendGrid, go to Settings → Mail Settings
- Enable Event Webhook
- Set the webhook URL to
https://api.pietru.dev/webhook/sendgrid - Select the events you want to track
Mailgun
- In Mailgun, go to Settings → Webhooks
- Add a new webhook endpoint:
https://api.pietru.dev/webhook/mailgun - Select the event types to capture
Resend
- In Resend, go to Settings → Webhooks
- Add a webhook:
https://api.pietru.dev/webhook/resend - Select the events to forward