You've Got Mail: screenplay analysis
The owner of a small children's bookshop and the heir of the chain store that is putting her out of business fall in love online without knowing who the other is.
Written by Nora Ephron & Delia Ephron · Directed by Nora Ephron · 1998 · Romantic comedy
What the script is doing
You've Got Mail, a loose remake of The Shop Around the Corner, runs two relationships between the same pair of people. Online, as anonymous correspondents, Kathleen Kelly and Joe Fox are tender and witty. In person, as rival booksellers on the Upper West Side, they are at war. Nora and Delia Ephron's screenplay uses that split to make the audience enjoy knowing more than both characters, and it hands Joe the knowledge midway through.
That midpoint choice shapes everything. Once Joe learns that his pen pal is Kathleen, the comedy turns into a long courtship in which he must win her as himself while she still loves the stranger. The plot gives him the power and the responsibility: he has destroyed her shop, and he must earn her forgiveness before revealing the truth. The script's warmth comes from its city, its side characters and its seasons, which mark the time passing.
Structure
Two worlds
Kathleen and Joe both live with partners and secretly write to each other. Fox Books opens a superstore near her shop.
The meeting
Kathleen and Joe clash at a party. Agreeing to meet her pen pal in a café, Kathleen waits with a book and a rose; Joe sees it is her and sits down as himself.
The fall
Kathleen's shop closes. Joe, knowing everything, befriends her, brings her flowers when she is sick and encourages her to meet her online friend.
The park
Both leave their partners. Kathleen goes to meet her pen pal in Riverside Park, and Joe appears with his dog, and she says she hoped it would be him.
Characters
- Kathleen Kelly wants to keep her mother's shop and to be braver; she needs to let go of the past, and losing the shop frees her.
- Joe Fox wants to win in business and remain unattached; he needs to see the person behind the competition, and knowing her secret makes him change.
- Frank and Patricia, the wrong partners, want things that keep each lead from growing, and their comic self-absorption makes the breakups painless.
Key scenes
The children's corner
Joe, with his young relatives, visits Kathleen's shop without revealing who he is, a charming meeting built on a lie.
The café
the meeting that fails, in which the audience knows and Kathleen does not, the film's richest dramatic irony.
Closing day
Kathleen remembers her mother in the empty shop, a scene that gives the comedy a real loss.
Riverside Park
the reveal at the end, prepared by everything Joe has done, letting a simple line close the story.
What writers can learn
- Run two parallel relationships between the same couple, one warm and one hostile, and let the audience see both.
- Give one lover the secret at the midpoint, turning the second half into a test of how he uses it.
- Make the romantic hero responsible for the heroine's loss, so his courtship must also be amends.
- Use seasons and a neighbourhood's rhythms to mark time and add warmth.
Read the screenplay
We haven't found a copy of the You've Got Mail screenplay published by its rights holder, so this page links to none. We don't host screenplays that are under copyright.
Questions
We haven't found an official copy online. Studios sometimes publish scripts during awards season, and published screenplay books are another legal route.
You've Got Mail (1998) was written by Nora Ephron & Delia Ephron and directed by Nora Ephron.
Read the structure and key scenes with the film or the published script beside you, then try the lessons on your own pages. Our screenplay format guides cover the page itself.
Write your own screenplay, formatted as you type.
Start free. Credits never expire, and you pay only for what you generate













