Guide · Sender rules
The plain-text part of an HTML email
An HTML email can carry a plain-text version of the same message, and for most automated and marketing mail it should. The two bodies travel together as a multipart/alternative message: RFC 2046 says the parts are interchangeable versions of the same content, ordered from the simplest to the most faithful, and the reader's mail program shows the last one it can display. Amazon SES says that when you send to many recipients it makes sense to send both HTML and text, and that readers with text-based clients need URLs they can copy into a browser. Classic Outlook has a setting that reads all standard mail as plain text, so some people see only your text part. Write that part as a real message, with the same facts, labelled links and, for marketing mail, the opt-out. A text part is not a deliverability fix: none of the sources below says that a missing one gets mail filtered, and a link in the body never replaces one-click unsubscribe headers.
- Reading time
- 7 min
What multipart/alternative is
RFC 2046 (section 5.1.4) defines multipart/alternative. Its rules, in short:
- Same content, different formats. Systems should recognize that the content of the parts is interchangeable.
- Order matters. The alternatives appear in an order of increasing faithfulness to the original content, so the sender puts the preferred format last. In practice that means text/plain first and text/html after it.
- The reader's program chooses. Receiving user agents should pick and display the last format they are capable of displaying, and should not show several versions of the same content by default.
A minimal message looks like this:
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="b1"
--b1
Content-Type: text/plain; charset="utf-8"
Your workshop is on 12 March at 14:00 CET.
Directions to the venue:
https://example.com/workshop/directions
--b1
Content-Type: text/html; charset="utf-8"
<p>Your workshop is on <strong>12 March at 14:00 CET</strong>.</p>
<p><a href="https://example.com/workshop/directions">Directions to the venue</a></p>
--b1--Most teams never build this by hand. Amazon SES's email format page says that for a simple (formatted) send, SES assembles the multi-part MIME message itself; raw sending is for when you want to set the MIME parts and content types yourself.
Why send both
Some people read the text. Microsoft's support page Read email messages in plain text in classic Outlook describes a Trust Center option, "Read all standard mail in plain text", in Outlook for Microsoft 365 and Outlook 2016 to 2024. With it on, formatting, pictures and links can be turned off for every message the person opens, until they choose Display as HTML for one message. Mailchimp's accessibility guide says many people who use screen readers prefer plain-text emails because they give just the core content.
The sending services recommend it. The SES Body reference says you can specify text, HTML or both, and that with both the message should display correctly in the widest variety of email clients. It describes the text body as being for text-based clients and clients on high-latency networks, such as mobile devices. Mailchimp's plain-text campaign page says it automatically creates and sends a plain-text version of each HTML email to recipients who prefer to receive them.
What it does not do. Google's email sender guidelines ask that messages follow RFC 5322 and that HTML messages follow HTML standards; they do not mention a plain-text part. They do warn that hiding content with HTML and CSS might cause messages to be marked as spam. So a text part helps people, but it is not a requirement we found in Gmail's rules, and it will not repair broken HTML for readers whose program shows the HTML part.
Write a text part people can use
These are our recommendations, drawn from the sources above:
- Same facts as the HTML. Dates, times with time zone, amounts, order or booking references, deadlines and conditions must match. The parts are meant to be interchangeable, so change both when you change one. They need to say the same thing, not match line for line.
- Never "open the HTML version". A text part that only says the message is best viewed in HTML leaves the reader with nothing.
- A label and a full URL for each action. Plain text has no embedded links, so write what the link is for, then the address on its own line. SES notes that text readers need URLs they can copy and open in a browser.
- No facts only in images. Mailchimp advises presenting the most critical content in text and using images to complement it. A venue in a photo or a code in a banner is missing from the text part and from any reader who blocks images.
- Short lines and blank lines. Mailchimp says plain-text emails are harder to read than HTML and suggests line breaks and dividing lines to structure them.
- The same footer duties. Mailchimp says plain-text emails are subject to the same legal requirements as HTML emails. In the United States, the FTC's CAN-SPAM compliance guide says commercial messages must explain clearly and conspicuously how to opt out of future marketing email and must include a valid physical postal address. Put both in the text part of marketing mail, as words plus a URL (in-body unsubscribe link).
Link tracking in the text part
Click tracking rewrites links, and in a text part the reader sees the rewritten address. Check what your service does:
- Postmark. Its link tracking documentation lists four settings: None (the default), HtmlAndText, HtmlOnly and TextOnly. HtmlOnly is meant for senders who do not want encoded tracking links in the plain text. Postmark also says not to HTML-encode links in the TextBody, which could produce incorrect tracked links.
- Mailchimp. Its plain-text page says that to track clicks in plain-text emails, it replaces your links with tracking URLs that redirect your recipients.
Whichever you choose, keep the label next to each URL so the reader knows where it goes. A text view loads no images, so an open pixel cannot fire there; clicks are the signal you keep (Apple Mail Privacy Protection and your numbers).
Unsubscribe: the body link and the header
Google's sender guidelines, in their requirements for sending 5,000 or more messages a day to Gmail accounts, say marketing and subscribed messages must support one-click unsubscribe and include a clearly visible unsubscribe link in the message body. Google requires both, as two separate items, so a URL in your text part is the body link only: it does not stand in for the List-Unsubscribe and List-Unsubscribe-Post headers (one-click unsubscribe, Gmail and Yahoo sender requirements). Transactional mail has different rules (transactional vs. marketing email).
Check before you send
These are our recommendations:
- Generate both bodies from the same data. In code, render HTML and text from one template model, so a changed date or amount reaches both.
- Review a generated text part. If your service converts HTML to text, read the result after the HTML is final, and check that every button, table and image-only block came through as words and URLs.
- Send a test and read the text. Open a delivered copy in a client set to plain text, or view the raw message, and check each URL, the support address and the unsubscribe line. Try it with optional personalization fields empty.
- Give each template an owner. A newsletter with a good text part tells you nothing about the text part of your password reset or invoice.
- Judge delivery separately. Check authentication, complaints and the receiving provider's responses on their own; a good text part does not stand in for them (Gmail's Promotions tab).
Questions
Do I need a plain-text part if my email is already plain text?
No. A message sent only as text/plain already is the plain-text version. multipart/alternative is for sending the same content in more than one format.
Will a missing text part send my email to spam?
None of the sources we checked says so. Google's sender guidelines ask for RFC 5322 formatting and HTML that follows HTML standards, and warn against hiding content with HTML and CSS; they do not mention a text part.
Which part will my reader see?
The reader's program decides. RFC 2046 says it should display the last alternative it can show; with text first and HTML last, a program that displays HTML shows the HTML part. A person who reads all mail as plain text in classic Outlook sees the text, and SES says a client chooses based on its capabilities.
Does the unsubscribe link in my text part satisfy Gmail's one-click rule?
No. Google requires both one-click unsubscribe, which works through the List-Unsubscribe and List-Unsubscribe-Post headers, and a visible unsubscribe link in the body, as separate items. A link in your text part is the body link only, so keep both the headers and a visible link in each body.
Related guides
- One-click unsubscribe and the List-Unsubscribe header
- Transactional vs marketing email
- Gmail and Yahoo sender requirements
- Apple Mail Privacy Protection: what an open means now
- Gmail Promotions tab: delivered, not spam and not a bounce
- All guides
Sources
- RFC Editor: RFC 2046, MIME Part Two: Media Types (November 1996), section 5.1.4: interchangeable parts, increasing faithfulness, the last displayable part is shown.
- Amazon SES: Email format in Amazon SES: both formats for large sends, URLs for text clients, formatted vs. raw sending. Checked 30 November 2026.
- Amazon SES: Body (API reference): text, HTML or both; what each body is for. Checked 30 November 2026.
- Microsoft Support: Read email messages in plain text in classic Outlook: the Trust Center setting, versions, Display as HTML. Checked 30 November 2026.
- Mailchimp: Create a Plain-Text Email: automatic text version, readability, legal requirements, tracking URLs. Checked 30 November 2026.
- Mailchimp: Accessibility in Email Marketing: screen-reader users, critical content in text. Checked 30 November 2026.
- Postmark: Tracking links: the four link-tracking settings and TextBody encoding. Checked 30 November 2026.
- Google: Email sender guidelines: message formatting, hidden content, one-click unsubscribe and the body link. Checked 30 November 2026.
- FTC: CAN-SPAM Act compliance guide for business: opt-out explanation and postal address. Checked 30 November 2026.
How we wrote this: drafted by the email-validation.org team with the help of AI writing tools, from our product documentation and the sources linked in the text.