A Contact Form 7 notification should help somebody understand an inquiry and take the next action. HTML can make a long message easier to scan, but a decorative template can also hide missing fields, break line spacing or make a simple reply harder. Start with the information your team needs, then add only the formatting that improves that handoff.
This guide covers the body of the notification sent to your team. It does not configure an email transport service or promise that a message reaches an inbox. If sending itself fails, use the separate CF7 email troubleshooting guide before changing the template.

Separate the email body from the visitor response
CF7’s Mail tab controls the outgoing notification. Its official mail documentation explains that plain text is the default and that the Use HTML content type option enables an HTML body. The Messages tab controls the response visitors see on the website. Those response messages are plain text; enabling HTML email does not enable HTML inside them.
Decide which output you are trying to improve. A visitor needs a clear acknowledgement or correction instruction. A colleague needs the inquiry, contact details and enough context to route it. Designing those two messages independently prevents a common mistake: pasting email markup into the website’s success response and expecting it to render there.
Inventory the fields before formatting them
Open the Form and Mail tabs together and make a small mapping sheet. List each field name, its purpose, whether it is optional, and where it should appear in the notification. A new field in the Form tab does not automatically update the Mail template, as the form editing documentation explains.
Use mail-tags for submitted values. For example, a form-tag named [text* your-name] corresponds to [your-name] in the email body. Keep the spelling identical. The tag syntax reference distinguishes these two formats. Reusing the entire form-tag in the email does not create the intended field mapping.
A practical mapping includes name, reply address, inquiry topic, message and optional company. Avoid adding every available technical detail just because it exists. If the owner of the lead cannot explain how a field changes the next step, consider leaving it out of the notification and keeping any necessary operational context in an appropriately protected record.
Build a modest HTML template
The following body is an illustrative starting point. Replace field names with those actually used by your form and evaluate it in a controlled mail environment. The example does not configure recipients, sender identity or attachment delivery.
<h2>New website inquiry</h2>
<p><strong>Name:</strong> [your-name]</p>
<p><strong>Email:</strong> [your-email]</p>
<p><strong>Company:</strong> [company]</p>
<p><strong>Topic:</strong> [your-subject]</p>
<h3>Message</h3>
<div>[your-message]</div>
<p>Please review the inquiry and assign an owner.</p>
Select Use HTML content type for the template containing this markup. Keep the first version simple enough to understand without colors, images or a complex layout. A name, topic and message should remain recognizable when the client changes fonts or the reader uses a narrow screen.
Do not depend on a remote logo to convey essential instructions. Images may be blocked or unavailable. Put the next action in ordinary text and give the notification a subject that lets staff distinguish it from an autoresponder. Preserve a copy of the previous body and the relevant checkbox settings so a formatting change can be reversed precisely.
Make line breaks and optional fields explicit
In HTML, a newline in the template source does not necessarily create a visible paragraph. Use deliberate paragraph or break elements for the fixed parts of your message. Separately test a visitor’s multiline answer; do not assume the way it looked in the editor is the way every recipient will see it.
The Exclude lines with blank mail-tags option can remove a line containing an empty submitted value. Treat this as line-based omission, not a general conditional layout engine. Keep an optional field’s label and value together on a single source line when evaluating omission. Otherwise, the value can disappear while its label remains, or removing one line can leave awkward HTML structure.
For a first template, ordinary paragraphs are easier to inspect than nested tables. If you later introduce table rows, try empty optional values and inspect the resulting message source as well as its appearance. A perfectly filled sample can conceal an orphaned cell or a heading with no answer below it. The goal is a readable message in both the complete and minimal valid cases.
Review long and unusual answers
Prepare fictional input cases: a short inquiry, several paragraphs, a long unbroken reference, punctuation, an ampersand, quotation marks and non-English characters. Include text that resembles markup as a case to inspect, rather than intentionally enabling user-provided HTML. Do not introduce a custom rendering filter simply to make a decorative sample look better.
Check that the longest answer wraps within the reading area and that the entire message remains available. Pay attention to visual hierarchy: a bold label should distinguish the field name without making every line compete for attention. If a customer mentions a reference number, a colleague should be able to copy it without also copying unrelated design elements.
Review replies too. Formatting the body cannot repair a wrong Reply-To setting. Verify the message header separately using the intended sender domain and a validated email field for the reply address. Keep this review focused on configuration; a valid-looking header is not proof of eventual inbox placement.
Use a small acceptance checklist
- Run controlled checks with all fields present, then with each optional field absent.
- Compare the displayed message with the submitted fictional values, field by field.
- Inspect a narrow email view and a desktop view in clients your team actually uses.
- Confirm paragraphs, special characters, long answers and the plain-text visitor response.
- Verify recipient and reply behavior in the authorized test environment before release.
Keep the evidence specific: template revision, test time, client and observed result. “Looks fine” is too vague if a later issue affects only an optional field. The email testing tools comparison helps choose a capture environment for this work without treating captured messages as delivered customer mail.
Connect formatting checks to honest reporting
A mail-sent signal describes CF7’s submission outcome; it does not assess whether every field was useful or whether a recipient read the message. Keep formatting acceptance evidence separate from counts of successful submissions. If a notification omits the company field, repair that mapping and record the change rather than reclassifying every successful submission as a failed request.
This site publishes CF7 Analytics. For form outcome reporting, start with the official Svetlik Analytics for Contact Form 7 free plugin and the monthly reporting guide. Use those reports alongside message review; analytics is not a substitute for verifying the actual notification your team receives.
