Email Learned to Carry Files with a Barbershop Quartet

How a Barbershop Quartet Became Email's Best-Known Attachment

In March 1992 a MIME message pointing to a barbershop quartet's photo and song became widely credited as email's first attachment. Files had been smuggled through mail as text for a decade before.

On March 11, 1992, Nathaniel Borenstein sent an email that used MIME to point to a photograph and a short audio recording of his barbershop quartet, which MIME-aware readers fetched by ftp. It is usually remembered as the first real email attachment, and it was sent as a demonstration of MIME to mailing lists, including IETF-822, one of the lists where the standard was being worked out. MIME, the standard Borenstein wrote with Ned Freed, let internet mail carry pictures, sound and arbitrary files. It was not the first time a file traveled by email. Since 1980, a tool called uuencode had smuggled files through mail by turning them into lines of text, and several closed mail systems already handled multimedia inside their own walls. The fork is between pasting a file into a message as text gibberish, carrying it inside a single vendor's system, and carrying it natively across the open internet through a shared standard. The quartet message belongs to the third, and that is the one that stuck.

A photo and a song, March 1992

Borenstein was working at Bellcore, the research arm of the American regional telephone companies, when he and Ned Freed, of Innosoft International, were finishing the specification that became MIME, short for Multipurpose Internet Mail Extensions. The problem they were solving was old. Internet email had been designed for plain English text in a narrow character set. Anything else, from an accented letter to a photograph, did not fit.

To show that the new approach worked, Borenstein sent a message on March 11, 1992, that referred to two non-text parts: a digitized photograph of the Telephone Chords, a barbershop quartet he sang in with colleagues, and an audio recording of the group singing. The picture and sound were not packed into the message itself: it used MIME's "message/external-body" construct, so the whole message was only about 3,000 bytes, and the parts were fetched over the internet by ftp. Recipients whose software understood the new format, and who had ftp access to the internet, saw a picture and could play a song. Recipients whose software did not saw ordinary text explaining what they were missing, which was part of the design.

One human detail in later retellings concerns Borenstein's hopes for the technology. He has been quoted as saying he wanted pictures of his grandchildren to be sent to him by email one day. A quartet colleague, Michael Littman, later recalled that the demonstration was meant to show, with some flair, how different kinds of files could be packaged in one email. The grandchildren remark circulates in slightly different forms, so it is best read as his recollection of the intent rather than a precise transcript, but the hope itself turned out to be well placed.

The workaround that came first

Files had been moving through email for more than a decade before the quartet message, just not gracefully.

In 1980 Mary Ann Horton, then at the University of California, Berkeley, wrote uuencode, a small program that converted binary data into printable characters so that it could survive the text-only mail networks of the time. The sender ran the file through uuencode and pasted the result, a dense block of apparently random letters and symbols, into a message. On the receiving side, uudecode skipped the lines that mail software had added around the block and recreated the original file. It could run automatically on mail sent to a special "decode" user, or a person on the receiving machine could run it by hand.

It worked, and it was used for years to share software, images and documents across Usenet and email. But it was a workaround in every sense. The mail system had no idea a file was present. Apart from begin and end lines giving a file name and permissions, nothing told the mail software what kind of file it was. Some mail paths limited the size of individual messages, so a long file could end up split across several messages. A careless mail gateway that rewrapped lines or trimmed trailing spaces could corrupt the whole thing.

There were also systems that handled rich mail properly within their own boundaries. Carnegie Mellon's Andrew Message System, a project Borenstein had worked on before Bellcore, supported multimedia messages in the 1980s. The NeXT computer, unveiled in 1988, came with mail that could carry voice recordings as well as text. Borenstein himself has written that there were several attachment technologies before MIME. Their richness was built for their own systems: Andrew, for example, converted formatted messages leaving Andrew for a "standard" display device, because its own format could make them unreadable elsewhere.

The definitional fork: smuggled, walled or native

That history gives the question "what was the first email attachment?" three honest answers.

If it means the first file sent through email in any form, the answer is spread across the early uuencode years and the private systems of the 1980s, and it reaches back further: Mary Ann Horton has recalled that before uuencode it was common to include a text file's contents directly in an email. Files were traveling by mail well before 1992.

If it means the first message carrying rich content inside one vendor's or one institution's mail system, the Andrew system and NeXT mail have stronger claims than MIME, because they were doing it years earlier.

If it means the first attachment sent using an open internet standard, one that any software from any vendor could implement and that would pass safely through the existing mail infrastructure, the quartet message is a strong candidate; Borenstein himself calls it the first standardized attachment of any interest. MIME's contribution was not the idea of putting a picture in an email. It was a shared way of labeling each part of a message, saying what type of content it held and how it was encoded, so that software from different makers could agree on what they were looking at.

That labeling is what turned the file from a smuggled passenger into a native one. A MIME message declares its parts openly. The receiving program does not have to guess that a block of text is an encoded file; it reads the label and knows what to do.

Why the standard mattered more than the demo

Borenstein and Freed made a set of decisions that look modest but explain why their version won. They did not ask the world to replace its mail servers. MIME worked by adding new header lines and encoding non-text content so that it could ride through the old text-only system untouched. A server that had never heard of MIME would pass the message along like any other. Only the software at either end needed to understand it.

That backward compatibility is the reason a 1992 specification could spread across a network that nobody controlled. The first version was published as RFC 1341 in June 1992 and revised as RFC 1521 in 1993. Mail programs added support over the following years (NeXT's mail, for one, had moved to MIME by 1993), and attaching a document or a photograph to an email gradually stopped being a trick for specialists; Borenstein now describes MIME as identifying and encoding nearly every media object in email.

The same idea of declaring a content type later traveled well beyond email. The labels MIME defined were adopted by the web to tell browsers what kind of file a server was sending, which is a large part of why the standard still matters. That later life is a separate story; the point here is that the labels were designed first for mail, to make files travel.

A short timeline of files in the mail

DateMilestoneWhat it established
1980Mary Ann Horton writes uuencodeFiles can cross text-only mail networks disguised as printable characters
1980sAndrew Message System and other pre-MIME attachment systemsRich messages and attachments work within one system
1988NeXT computer unveiled with multimedia mailVoice in mail, between machines of the same kind
March 11, 1992Borenstein sends the message pointing to the quartet photo and recordingFirst widely cited attachment sent using the MIME standard
June 1992MIME published as RFC 1341An open, vendor-neutral way to label and encode message parts
1993Revised specification published as RFC 1521The standard settles into the form mail software implements
1990sMail programs add MIME supportSending a file by email gradually stops being a specialist skill

The table stops before later revisions of the standard, which refined the details without changing the principle.

A payload chosen to make a point

It is tempting to treat the quartet message as a novelty, a group of engineers singing their way into history. The choice of payload was more deliberate than that. A photograph and a song were exactly the kinds of content that the text-only mail system could not carry, and exactly the kinds of content ordinary people would want to send to each other.

Uuencode had proved that a determined user could push a file through email. The closed systems had proved that rich mail was useful. MIME's achievement was making the capability open to any mail program that implemented the standard. The first attachment that mattered was the first one that did not need a specialist on the receiving end, and that is why a barbershop quartet, not a block of encoded text, is how the story is told.

Project Inquiry