Why Your Email Looks Like a Mess in Outlook Web App
Why Your Email Looks Like a Mess in Outlook Web App - Practical tips from the PasteClean team.

You spend twenty minutes crafting the perfect cold outreach or project update in ChatGPT. It looks pristine in the chat window—bullet points aligned, headers bolded, spacing breathing perfectly. Then you paste it into the Outlook Web App, hit send, and immediately realize you’ve made a terrible mistake.
The recipient doesn’t see your clean draft. They see a ransom note of varying font sizes, inexplicable gray background highlights behind the text, and line breaks that look like they were inserted by a random number generator.
This isn’t user error. It’s a conflict between modern web standards and the aggressive HTML sanitization protocols used by Microsoft. If you want to maintain your professional reputation, you need to understand exactly why messy email formatting happens and how to engineer your way around it.
The HTML Sanitizer: Why OWA Eats Your Formatting
To understand why your emails break, you have to stop thinking of an email as a document and start thinking of it as a webpage. When you compose an email in the Outlook Web App, you are essentially writing HTML code.
However, Outlook doesn't render HTML like Chrome or Safari does. For security reasons—primarily to prevent cross-site scripting (XSS) attacks and malicious code execution—Outlook runs every incoming and outgoing email through a rigorous sanitizer.
This sanitizer strips out CSS (Cascading Style Sheets) that it deems unnecessary or risky. Unfortunately, "unnecessary" often includes the specific styling attributes that keep your email looking professional.
The position and float Problem
Modern websites and AI interfaces use CSS attributes like flexbox, grid, position: absolute, or float to arrange text. Outlook Web App ignores almost all of these. It reverts to a standard document flow.
If you copy a layout that relies on columns or side-by-side text from a web tool, Outlook will likely "linearize" it, stacking everything vertically and often breaking the container widths. This creates that "squashed" look where text runs off the screen or wraps effectively one word per line.
The "Span Tag" Epidemic from AI Text
The most common culprit for messy email formatting today is the rise of Large Language Models (LLMs) like ChatGPT, Claude, and Gemini.
When you generate text in an AI interface, the browser renders that text using Markdown converted to HTML. To handle syntax highlighting, code blocks, or even just the dark mode interface of the chat window, the AI wraps your text in dozens of nested <span> tags.
These tags carry inline styles. For example, a simple sentence in ChatGPT might actually look like this in the HTML clipboard:
<span style="background-color: #f7f7f8; color: #374151; font-family: Söhne, sans-serif;">Here is the project update you requested.</span>
When you paste this into OWA:
- Background Colors: Outlook respects the
background-colorattribute. This is why your text often has a faint gray or white box behind it, which looks disastrous if the recipient is using Dark Mode. - Font Families: OWA sees
Söhne(OpenAI’s font), realizes you don’t have it installed, and panics. It defaults to Times New Roman or a generic serif font, clashing with your signature’s Arial or Calibri.
Pro Tip: If you see a subtle formatting glitch in your compose window, it will look ten times worse to the recipient. Outlook's compose window uses a slightly different rendering engine than the "read" view. Never trust the preview.
Dark Mode Inversion Logic
Dark Mode is not just a color swap; it is a complex algorithmic inversion of your email’s HTML.
When a user views your email in Dark Mode, Outlook Web App takes your defined colors and inverts them to reduce eye strain. White backgrounds become dark gray; black text becomes white.
However, this logic breaks down when "sticky" formatting is involved.
If you paste text that explicitly defines color: #000000 (black) inside a <span> tag, Outlook’s inversion logic sometimes fails to override that inline style because it views it as a specific design choice rather than a default.
The result? The background properly inverts to dark gray, but your text remains forced black. You have just sent your boss a black-on-black email that is literally unreadable.
The Double-Spacing Disaster
Have you ever pasted a few paragraphs and ended up with massive gaps between lines? This is the conflict between Paragraphs (<p>) and Breaks (<br>).
Web browsers and AI tools typically use paragraph tags (<p>) to separate blocks of text. By default, browsers add margin to the top and bottom of these tags.
Outlook, however, has a legacy preference for using <div> tags or simple line breaks (<br>) for spacing.
When you mix these systems:
- You copy
<p>tags with CSS margins. - You paste them into OWA.
- OWA converts them but often doubles the margin calculations or fails to strip the original web margins.
You end up with 24px of whitespace between sentences where you only wanted 12px. It makes your email look disjointed and amateurish.
Font Stacks and Fallbacks
Typography is the backbone of clean communication. In the Outlook Web App, font support is notoriously limited.
Web designers use "font stacks" to ensure consistency. It looks like this:
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
If the first font isn't available, the browser tries the next one.
When you paste rich text, you often bring over a single, specific font definition (like Inter, Roboto, or Segoe UI). Because OWA blocks external font requests (like Google Fonts) for privacy reasons, it cannot download the font you pasted.
Instead of falling back gracefully to Arial, OWA often dumps the styling entirely and reverts to the browser's default, which is usually Times New Roman. This creates the "Frankenstein" effect where your body copy is Serif, but your signature is Sans-Serif.
The Clipboard: The Root of All Evil
We blame Outlook, but the operating system’s clipboard is an accomplice. When you press Command+C or Ctrl+C, your computer doesn't just copy the text. It copies the data in multiple formats simultaneously:
text/plain(Just the characters)text/html(The code with all the styling)image/tiff(Sometimes, for screenshots)
When you press Command+V in OWA, the application has to decide which version to accept. Outlook is programmed to prefer the text/html version because it assumes you want to keep the bolding and links.
The problem is that it accepts the HTML without filtering the "junk" metadata attached to it. It accepts the hidden class names, the background colors, and the tracking pixels from the source website.
A Concrete Example: Before and After
To visualize why this matters, let's look at a typical scenario of pasting a response from an AI tool into OWA.
The "Dirty" Paste (What the recipient sees):
- Font: 11.5pt Roboto (mismatched with your 12pt Calibri signature).
- Background: A solid block of #F7F7F8 (light gray) behind the text block.
- Links: Underlined in blue but also highlighted in a darker gray.
- Spacing: Double returns between bullet points.
The "Clean" Paste (The goal):
- Font: Native Outlook default (usually Aptos or Calibri), matching your system settings.
- Background: Transparent (adapts perfectly to Light or Dark mode).
- Links: Standard Outlook blue.
- Spacing: Crisp, single-line spacing.
Manual Workarounds (The Slow Way)
If you don't have a dedicated tool, there are ways to achieve clean email text, but they introduce friction to your workflow.
1. The "Paste as Plain Text" Shortcut
In most browsers, you can bypass the HTML clipboard by using Ctrl+Shift+V (Windows) or Cmd+Shift+V (Mac).
- The Pro: It strips absolutely everything. No gray backgrounds, no weird fonts.
- The Con: It strips everything. You lose your bolding, italics, hyperlinks, and bullet point structures. You have to manually re-format the entire email in the Outlook editor.
2. The Notepad Wash
This is the old-school Outlook fix.
- Copy text from the web.
- Paste it into Windows Notepad or macOS TextEdit (in plain text mode).
- Copy it again.
- Paste into Outlook.
This works because Notepad cannot hold HTML data, so it acts as a filter. Again, the downside is the loss of all structural formatting.
3. The "Remove Formatting" Button
Outlook Web App has a button in the toolbar (an 'A' with an eraser).
- Paste your text.
- Select all.
- Click "Remove Formatting."
Why this fails: This button is inconsistent. It often resets the font size to 10pt or 12pt but fails to remove background shading (background-color) because Outlook considers that a "highlight" rather than a "format." You are often left with clean text that still sits inside a gray box.
Technical Insight: The "Remove Formatting" command in OWA targets <span> and <font> tags, but it struggles with container tags like <div> or <table>. If your source text was inside a div with a background color, the eraser button won't touch it.
The Automated Fix: Why You Need a Sanitizer
If you are sending high-volume emails or relying on AI to draft communications, manual re-formatting is a productivity killer. You need a process that keeps the structure (bold, lists, links) but kills the styling (fonts, colors, backgrounds).
This is where PasteClean fits into the stack.
PasteClean doesn't just "remove formatting." It parses the HTML on your clipboard and rebuilds it specifically for email clients.
How It Works Under the Hood
When you run text through PasteClean, the engine performs a specific set of operations designed for Outlook:
- Span Normalization: It unwraps text from nested
<span>tags, removing the background color attributes that trigger the "gray box" effect. - Font Reset: It strips
font-familyattributes entirely. This forces the text to inherit the default font settings of your Outlook Web App, ensuring your pasted text matches your signature perfectly. - Link Preservation: Unlike "Paste as Plain Text," it keeps your anchor tags (
<a href="...">) intact so you don't have to re-link your URLs. - List Correction: It converts web-based lists (which often use CSS for bullet points) into standard HTML
<ul>and<ol>tags that Outlook renders correctly.
Checklist for Sending Safe Emails in OWA
Before you hit send on that critical proposal, run through this mental checklist to ensure you aren't sending a formatting disaster.
- Check the Background: Highlight your text. If the highlight selection looks "broken" or disjointed, you likely have hard-coded background colors.
- Verify Font Names: Click into the pasted text. Does the font dropdown change from "Calibri" to something blank or "Times New Roman"? If so, the font stack is broken.
- Test Dark Mode: If possible, toggle your OS to dark mode to see if your email text disappears.
- Look for the "Mso" Classes: If you inspect the HTML source (for the technically inclined), look for classes starting with
Mso.... These are Microsoft-specific tags. If you see them mixed with web classes, you're in for trouble.
Conclusion
The Outlook Web App is an unforgiving environment for pasted text. It sits at the intersection of legacy Word rendering engines and modern web security, resulting in a fragile ecosystem where a single CSS attribute can ruin your professional presentation.
You cannot rely on the "eye test" in the compose window. The only way to ensure consistency is to control the HTML input. Whether you use the "Paste as Plain Text" method and re-format manually, or use a tool like PasteClean to automate the sanitation, stripping the hidden code from your text is no longer optional—it’s a requirement for modern professional communication.
Clean your AI text instantly
Paste text from ChatGPT, Claude, or any AI tool and get clean, email-ready formatting in one click.
Try PasteClean Free