M a s s M a i l i n g P l a t f o r m

Mass mailing platform tailored for HR and Bench Sales recruiters

Scroll to explore

Project Overview

This mass mailing platform is specifically designed to empower HR and Bench Sales recruiters by streamlining their communication and outreach processes. By leveraging an intuitive, scalable, and highly secure system, recruiters can significantly enhance their efficiency, reducing manual effort through automated bulk email sending and real-time tracking of responses. The credit-based system ensures clients can manage their mailing budgets effectively, giving them precise control over resource allocation. With role-based access control, the platform provides tailored experiences—Company Admins gain insights into recruiter performance and can efficiently manage resources and user permissions, while recruiters benefit from an easy-to-use interface for managing contact lists and email campaigns. Detailed analytics and tracking features offer recruiters deeper visibility into candidate engagement, enabling them to refine and optimize campaigns continuously. Furthermore, the built-in contact management capabilities allow recruiters to effortlessly import, organize, and maintain their candidate databases, facilitating faster and more targeted communications. Payment integration through Stripe simplifies financial management, allowing clients to quickly adjust their usage and scale according to their business needs. With automated housekeeping features such as scheduled deletion of old emails, the platform also helps maintain optimal performance, ensuring users always experience quick and responsive interactions. Overall, by providing a secure, comprehensive, and scalable solution, this platform empowers recruiters to maximize their productivity, achieve higher engagement rates, and significantly reduce the time spent managing communications—ultimately helping them focus on what truly matters: finding and securing the best talent.

Recital Illustration

Technologies Used

Built with modern, scalable technologies to ensure performance, reliability, and maintainability.

React

Frontend

Next.js

Frontend

Redux

Frontend

Pytest

Automation

Docker

Containerization

Celery Beat

Backend

WebSockets

Backend

Webhooks

Backend

Stripe

Payment Gateways

Python

Backend

AWS

Deployment

PostgreSQL

Database

Django

Backend

NGINX

Deployment

Redis

Database

Bash Scripting

Deployment

Git

Deployment

Celery

Backend

Key Features

Credit-Based Email Quota System

Recruiters send emails based on purchased credits, enabling precise budget control and preventing abuse.

Role-Based Access with Scoped Permissions

Granular user roles (Super Admin, Company Admin, HR, Bench Sales) with scoped views, actions, and data boundaries.

Automated Bulk Email via Celery Workers

Asynchronous task queues ensure reliable delivery of thousands of emails without blocking main processes.

Live Campaign Analytics (Open, Click, Bounce)

Real-time tracking using embedded tracking pixels and link redirects, streamed to the frontend via SSE.

CSV Contact Upload with Smart Deduplication

Uploaded contact lists are validated, deduplicated, and tagged automatically via chained Celery tasks.

Stripe-Powered Credit Purchase & Billing Portal

Users can securely buy credits, view invoices, and manage billing through an integrated Stripe experience.

Dynamic Campaign Templates with Token Replacements

Supports variables like {{candidate_name}} or {{job_role}} for personalized, scalable communication.

Global Outreach Map Visualization

Admin users can view geo-distribution of email deliveries and opens across regions in an interactive dashboard.

Team Performance Dashboard (Company Admin)

Track recruiter email activity, response rates, and contact engagement across the entire organization.

Implementation

Backend: Django | Frontend: Next.js | 8‑service micro‑architecture

1. Project Overview

I engineered a SaaS‑grade mass‑mailing platform that empowers HR and Bench‑Sales recruiters to run high‑volume, credit‑metered email campaigns with full analytics, role‑based controls, and seamless Stripe billing. The solution replaces fragmented spreadsheet workflows with a single, automated, and audit‑ready hub—driving faster outreach, higher response rates, and clearer ROI for talent teams.

2. Core Features

  • Credit‑Based Bulk Sending – Company Admin purchases credits; every queued email decrements in atomic Redis LUA script.

  • CSV Contact Import – Async S3 upload → Pandas validation → 3‑stage Celery task for deduplication & tagging.

  • Live Analytics Dashboard – Next.js + React Query streams open/click events via Server‑Sent Events (SSE).

  • Role‑Based Access – Four granular roles (SuperAdmin → CompanyAdmin → HR → BenchSales) enforced by DRF policies.

  • Auto‑Housekeeping – Celery‑beat jobs purge soft‑deleted mail + tracking pixels > 90 days.

  • Payment & Invoicing – Stripe Checkout + Billing Portal; usage invoices PDF‑rendered via WeasyPrint.

  • Help Desk & Feedback – Zammad integration for ticket creation straight from user context.

3. Tech Stack Highlights

  • API Layer ‒ Django 5, DRF, Postgres 15, Redis 7

  • Async Workers ‒ Celery, Flower, Amazon SES / SendGrid adapters

  • Storage ‒ AWS S3 (django‑storages), presigned uploads, lifecycle rules

  • Observability ‒ Prometheus, Grafana, Loki, Sentry, Elastic APM

  • Frontend ‒ Next.js 14, TypeScript, React Query, TailwindCSS + shadcn/ui, Recharts

  • IaC & CI/CD ‒ Terraform (network, RDS, EKS), Helm, GitHub Actions

4. Key Challenges & Solutions

Challenge Solution
Burst sending triggered SES throttling Implemented token‑bucket rate limiter with exponential back‑off; distributed counters stored in Redis.
CSV uploads blocking workers Split import into chunked S3 multipart upload + chained Celery subtasks; reduced worker lock time by 93 %.
Multi‑tenant data isolation Added tenant_id to every primary key, leveraged Postgres RLS + Django QuerySet filters for zero‑leakage.