Why Does Gmail Say "Sending..." Before Your Email Is Actually Sent?
Gmail acknowledges your email before it leaves the building. Why accepting work first and processing it later makes systems feel instant and stay reliable.
- System Design Explained
- Reliability
- System Design
- Software Architecture
Have you ever noticed what happens after you click Send in Gmail? The email doesn't instantly become "Sent." For a brief moment, you see: Sending...
That tiny status tells a much bigger story about distributed systems. When you press Send, Gmail doesn't just forward your email and hope for the best.

A simplified flow looks like this:
- π§ You click Send
- β Gmail stores the email safely.
- π© A background service takes responsibility for delivering it.
- π It attempts to contact the recipient's mail server.
- β If the destination is temporarily unavailable, Gmail doesn't immediately fail.
It retries. Sometimes minutes later. Sometimes longer.
Only after repeated failures does it give up and notify you.
Why? Because temporary failures happen all the time.
- Networks become unavailable.
- Mail servers restart.
- Connections time out.
A successful email system isn't one that never encounters failures. It's one that recovers from them without asking the user to press Send again.
That's one of my favorite principles in system design: Reliable systems don't assume success.
They assume failure, plan for recovery, and make that complexity invisible to users.
The next time you see "Sending...", remember: You're watching resilience in action.
Keep reading
What If Your AI Didn't Need to Generate Text?
The usual AI pipeline β prompt in, text out β breaks down the moment your application needs a decision instead of a paragraph. A typed-question approach can replace an entire generation-and-parsing pipeline.
Why Does Your AI Coding Agent Need to Understand Your Whole Codebase?
An AI coding agent can add role-based access, pass its tests, and still violate the authorization architecture already sitting around it β because writing code is easy, and knowing where it belongs is harder.
How Does Netflix Load Your Home Screen So Fast?
Netflix doesn't build your home screen after you open the app β it prepares most of it before you arrive. Why precomputation and caching beat request-time work.