Mailing System
- DMOOD
- 2025
- role: full-stack developer
Email campaign system for a DMOOD client, built with PHP and React: templates, recipient lists, scheduled batch sends through SendGrid, and the bounces, unsubscribes and opens that come back.
results
- Sends tens of thousands of emails a month through SendGrid
- Campaigns go into a job queue; scheduled cron dispatches send them in batches
- SendGrid event webhooks bring bounces, unsubscribes and tracking back into the database
- Built for a marketing team that runs its campaigns without a developer
architecture
A React dashboard drives a PHP backend that queues batched sends to SendGrid; SendGrid event webhooks report bounces, unsubscribes and tracking back into MySQL.
the story
An admin dashboard for sending email campaigns, built at DMOOD for an Italian client: templates, recipient lists, scheduling, tracking and per-campaign analytics.
The backend is PHP, the dashboard React, and the email goes out through SendGrid. A campaign doesn't send when you press the button: it goes into a job queue, and scheduled cron dispatches send it in batches. SendGrid then reports back through its event webhooks (delivered, opened, bounced, unsubscribed), and those events land in MySQL, next to the campaign they belong to. It sends tens of thousands of emails a month.
What comes back
Most of the work is in what comes back. A bounced address has to stop receiving mail, an unsubscribe has to hold across every future campaign, and the people running the campaigns are a marketing team, not developers, so the dashboard has to make all of that visible without anyone reading logs.