add GH issue finish mailgun implemenation (use REST api instead of SMTP) (or not) -…
- User
add GH issue finish mailgun implemenation (use REST api instead of SMTP) (or not) - reserch
Assistant
I'll help you create a GitHub issue about the Mailgun implementation. Let me first research the current state of Mailgun in the codebase.
Assistant
Now let me create a GitHub issue with research on REST API vs SMTP for Mailgun:
Assistant
Created GitHub issue #18: Research: Mailgun implementation - REST API vs SMTP
The issue includes:
✅ Current state analysis - Documents existing SMTP implementation with
DynamicSmtpInterceptor✅ REST API benefits - Better reliability, error handling, webhooks, analytics, advanced features
✅ SMTP benefits - Already working, provider-agnostic, simpler, Rails-native
✅ Three implementation options:
- Option 1: Keep current SMTP (simplest)
- Option 2: Switch to Mailgun REST API (
mailgun-rubygem) - Option 3: Hybrid approach (both SMTP + REST API)
✅ Key questions to guide the decision:
- Need for Mailgun-specific features?
- Current delivery reliability?
- Multi-provider support importance?
- Expected email volume?
- Bounce/complaint tracking needs?
The issue provides a framework for making an informed decision based on actual requirements rather than just technical preferences.