How billionmail/billionmail works
BillionMail is a self-hosted mail server and email-marketing platform. Its documented user workflow is to connect a sending domain and verify DNS/SSL, manage subscribers and lists, build a campaign from reusable email content, schedule or send it, then review delivery and engagement analytics. The tree shows a Vue management UI and Go API domains for these capabilities. Sampled code confirms AI-provider administration and domain project-editing requests; other relationships below rely on README descriptions, not inspected implementation. Infrastructure internals and persistence are not established by the excerpts.
Main entry points: index.vue Domain management · projectDetail.controller.ts Domain project editor · subscription.go Campaign management · batch_mail.go Batch mail tasks
Components 19
Management UI
- Admin application
core/frontend/src/App.vue - Domain management
core/frontend/src/views/domain/index.vue - Domain project editor
core/frontend/src/views/domain/pages/editDomain/controller/projectDetail.controller.ts - UI state stores
core/frontend/src/store/modules/global.ts
Audience and content
- Subscriber management
core/frontend/src/views/contacts/subscribers/index.vue - Contact API
core/api/contact/v1/contact.go - Email templates
core/frontend/src/views/template/components/TemplatePreview.vue - Email editor
core/frontend/src/features/EmailEditor/components/layout/Canvas.vue
Campaign delivery
- Campaign management
core/api/campaign/v1/subscription.go - Batch mail tasks
core/api/batch_mail/v1/batch_mail.go - Campaign analytics
core/internal/service/batch_mail/stat_service.go
Mail operations
- Mailboxes and services
core/api/mail_boxes/v1/mailboxes.go - Mail relay
core/api/relay/v1/relay.go - Postfix queue
core/api/mail_services/v1/postfix_queue.go
AI assistance
- AI model settings
core/frontend/src/views/settings/ai-model/components/ModelManager.vue - AI provider controller
core/frontend/src/views/settings/ai-model/controller/index.ts - AI supplier API
core/api/askai/v1/supplier.go - AI project API
core/api/askai/v1/project.go
Other components
- Marketer
Connections 14
- Marketer → Domain management: connects domain
README.md - Marketer → Subscriber management: manages subscribers
README.md - Marketer → Email templates: builds campaign content
README.md - Marketer → Campaign management: schedules or sends
README.md - Marketer → Campaign analytics: reviews results
README.md - Domain management → Domain project editor: edits project
- Domain project editor → AI project API: requests project data
core/frontend/src/views/domain/pages/editDomain/controller/projectDetail.controller.ts - AI model settings → AI provider controller: invokes settings
core/frontend/src/views/settings/ai-model/components/ModelManager.vue - AI provider controller → AI supplier API: calls supplier endpoints
core/frontend/src/views/settings/ai-model/controller/index.ts - Email editor → Email templates: creates reusable content
- Campaign management → Batch mail tasks: queues campaign sending
- Batch mail tasks → Campaign analytics: records send statistics
- Mailboxes and services → Mail relay: uses mail transport
- Mail relay → Postfix queue: dispatches mail