Why Self-Hosted Auth Deserves Great Email Marketing
Choosing Better Auth means you value control, transparency, and avoiding vendor lock-in. Your email marketing should match that philosophy. Sequenzy's native Better Auth integration gives you powerful email automation without compromising on your self-hosted auth principles.
Every new signup, by email or OAuth, becomes a subscriber and can start a welcome sequence. For later moments such as inactivity or account deletion, send events from your own code through the API. Your auth data stays in your infrastructure. Your email intelligence runs in Sequenzy. Clean separation, full power.
| Moment | How it reaches Sequenzy | Email automation opportunity |
|---|---|---|
| Signup | Synced by the Better Auth plugin | Welcome and setup sequence |
| Key product action | Event you send through the API | Activation or milestone email |
| Long inactivity | Event you send through the API | Re-engagement |
| Account deleted | Unsubscribe or delete through the API | Stop all marketing email |
Custom Data, Custom Segments
Better Auth lets you define your own user schema. Return any custom field from the plugin's getCustomAttributes callback and it becomes a subscriber attribute for smart segments. Map user roles, feature flags, team memberships, or any custom field. Build segments and automations that reflect your actual product, not generic templates.
| Better Auth field | Segment idea | Message to send |
|---|---|---|
| Role | Admins vs. members | Admin setup guides or member tips |
| Team ID | Organization-based campaigns | Account-wide announcements |
| Feature flags | Eligible users | Feature education |
| Signup source | Acquisition channel segments | Channel-specific onboarding |
| Locale | Regional audiences | Localized campaigns |
The Open Source Friendly Email Stack
Better Auth is open source. Sequenzy provides a developer API that plays well with open source tools. Together, they form an email marketing stack that respects developer values: transparent pricing, no lock-in, and full control over your data flow.