Mailead

An email marketing platform I joined late in its life — throughput went from 5,000 to 12,000 emails a week, sends now respect client time windows, and exposed APIs are locked down.

company
InvoZone
joined
later stage
deploy
AWS Lambda · ECR
status
 production

01What I built

Critical improvements to an existing email marketing platform built with Bubble.io, Python, FastAPI, AWS Lambda and ECR: campaign scheduling, throughput, and a security fix — all deployed on AWS.

02The problem

Campaigns had to send only within client-defined timeframes.

Throughput sat at 5,000 emails per week.

Some APIs were exposed without authentication.

03My role

I joined in the later stage of the project, got up to speed on the existing system quickly, and was responsible for deploying fixes and improvements on AWS. I identified the security issue independently.

04Architecture

Simplified — shows the components my work touched, not a complete system map.

05Technical challenges

  • Ramp-up. Delivering critical changes to a system I didn't build, late in its lifecycle.
  • Throughput. More than doubling weekly sending capacity.
  • Security. Closing unauthenticated APIs without breaking the product that used them.

06Implementation

  • Optimised campaign scheduling so emails go out only inside each client's defined send window, making campaigns more reliable.
  • Code optimisation and performance tuning that raised throughput from 5,000 to 12,000 emails per week.
  • Secured exposed APIs that lacked authentication, safeguarding user data.
  • Deployed fixes and improvements on AWS (Lambda, ECR).

07Engineering decisions

reliability

Respect the send window

Scheduling enforces client-defined timeframes so campaigns behave the way clients configured them.

security

Close the hole first

Unauthenticated APIs were treated as a priority fix once I found them, since they exposed user data.

performance

Optimise what exists

Throughput came from optimising and tuning the existing code rather than replacing the system.

08Result

Throughput went from 5,000 to 12,000 emails per week — an increase of 140%, or 2.4× the original volume. Campaigns became more reliable and the exposed APIs were secured.

throughput
5,000 → 12,000 / wk
change
+140%
security
unauthenticated APIs secured

09Technology stack

Bubble.ioPythonFastAPIAWS LambdaAWS ECR