Apple Mail HTML-Signatur-Tutorial (macOS + iOS)
Apple Mail renders HTML email differently from Gmail, Outlook, or even the Gmail iOS app. If you have spent time crafting a pixel-perfect signature in a web-based builder, only to see it break on a colleague's iPhone, you already know the pain. This tutorial walks through the exact steps to build, test, and deploy a reliable HTML signature on Apple Mail for both macOS and iOS, without relying on workarounds that break after the next OS update.
Why Apple Mail is a special case for HTML signatures
Apple Mail uses WebKit for rendering, which is the same engine behind Safari. This means it supports modern CSS properties that Gmail strips out, but it also has quirks that Outlook for Windows does not. The most important difference is how Apple Mail handles inline images, font fallbacks, and link tracking.
On macOS, Apple Mail allows you to paste HTML directly into the signature editor, but it will silently strip certain tags and attributes. On iOS, the process is even more restrictive — you cannot paste raw HTML at all. You must use a workaround involving a shared note or a draft email. Understanding these platform limitations is the first step to building a signature that actually sticks.
Building a compatible HTML signature for Apple Mail
Start with a table-based layout. This is not a stylistic choice; it is a necessity for consistent rendering across email clients. Apple Mail respects table layouts, and they provide the most predictable results when the signature is forwarded or replied to.
The minimum viable structure
Every Apple Mail signature needs three core components: a container table, a row for your logo or avatar, and a row for your contact details. Here is a minimal example that works on both macOS and iOS:
<table cellpadding="0" cellspacing="0" border="0" style="font-family: Helvetica, Arial, sans-serif; font-size: 13px; color: #333333;">
<tr>
<td style="padding-bottom: 8px;">
<img src="https://yourdomain.com/logo.png" width="120" height="auto" alt="Your Name" style="display: block;">
</td>
</tr>
<tr>
<td style="padding-bottom: 4px;">
<strong>Jane Doe</strong><br>
<span style="color: #666666;">Senior Product Manager</span>
</td>
</tr>
<tr>
<td style="color: #666666;">
[email protected] | +1 555 123 4567<br>
company.com
</td>
</tr>
</table>
Key points about this structure:
- Use
display: blockon images to prevent extra spacing below them in WebKit. - Set explicit
font-familyon the table, not on individual cells, to avoid duplication. - Keep the width of your logo under 320 pixels on mobile — Apple Mail on iOS will scale the table to fit the screen width, and a wide image will force horizontal scrolling.
Handling fonts and fallbacks
Apple Mail supports web fonts via @import or @font-face, but only if the email is opened in the full macOS app. On iOS, web fonts are ignored. Always provide a system font fallback. The safest stack is:
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
This gives you San Francisco on Apple devices, Segoe UI on Windows, and Roboto on Android. Avoid using custom fonts for anything critical, like your phone number or email address.
Step-by-step: Installing the signature on macOS
The macOS Mail app has a built-in signature editor, but it is notoriously bad at preserving HTML. Instead of using the editor, you will paste raw HTML directly into the signature file.
- Open Mail on your Mac and go to Mail > Settings > Signatures.
- Select the email account you want to attach the signature to.
- Click the + button to create a new signature. Give it a name like "HTML Signature".
- In the signature preview area, delete all the placeholder text so the field is empty.
- Open your HTML signature in a text editor (VS Code, Sublime Text, or even TextEdit in plain text mode).
- Select all the HTML code and copy it to your clipboard.
- Click inside the empty signature preview field in Mail. Press Cmd+A to select all (even though it looks empty), then Cmd+V to paste.
If the paste works, you will see your signature render immediately. If it does not, the HTML likely contains a tag or attribute that Apple Mail stripped. Common offenders include style blocks in the <head>, class attributes, and any JavaScript. Strip those out and try again.
Once the signature appears, close the settings window. Send a test email to yourself to verify the rendering. Check both the sent message and the received copy — they can differ.
Step-by-step: Installing the signature on iOS
Installing an HTML signature on iPhone or iPad requires a different approach because iOS Mail does not expose an HTML paste option. The workaround uses a shared note.
- On your Mac, create a new email draft in Mail. Paste your HTML signature into the body of the email. Do not send it — just leave it as a draft.
- On your iPhone or iPad, open the Mail app and navigate to the same draft. Tap the body of the email so the signature is visible.
- Tap and hold on the signature until the selection handles appear. Select the entire signature, then tap Copy.
- Go to Settings > Mail > Signature on your iOS device.
- Tap and hold in the signature text field, then tap Paste.
This method works because iOS Mail treats the pasted content as rich text, preserving the HTML structure that was embedded in the draft. The limitation is that any changes to the signature require repeating this entire process. There is no way to update an iOS signature remotely.
Testing and troubleshooting common rendering issues
Even with a clean HTML structure, Apple Mail can introduce rendering bugs. The most common ones are easy to fix once you know what to look for.
Missing images on iOS
If your logo appears on macOS but shows as a broken image on iOS, the problem is almost always the image URL. Apple Mail on iOS will not load images over HTTP — they must be served over HTTPS. Additionally, the image host must support TLS 1.2 or higher. If you are hosting the image on a shared server with an expired certificate, it will fail silently.
Extra white space around the signature
Apple Mail sometimes adds a blank line above or below the signature table. This is caused by the Mail app inserting a <div> or <br> tag when you paste. To fix it, open the signature on macOS, delete everything, and paste again. If the white space persists, wrap your entire table in a <div style="display: block; margin: 0; padding: 0;"> to override any injected spacing.
Font size changes on reply or forward
When someone replies to your email, Apple Mail may inherit the font size from the parent message. To prevent this, set an explicit font-size on the <table> tag and on every <td> that contains text. Do not rely on a single declaration in a <style> block — inline it on every cell.
How newmail.click handles this
newmail.click generates HTML signatures that are pre-tested against Apple Mail's rendering engine. The free builder outputs a table-based layout with inline styles, so you can paste it directly into macOS Mail without stripping. For Pro users, click and open tracking is appended as a transparent tracking pixel that Apple Mail respects — it does not rely on JavaScript or external CSS. When a tracked email is opened, you receive a Slack or email alert with the timestamp and device type. The builder also sets default UTM parameters on any links you include, which helps you attribute email traffic in your analytics platform. No team management, SSO, or SCIM features are included — this is a focused tool for individual professionals and small teams who need reliable tracking without the overhead.
Keeping your signature consistent across devices
The hardest part of managing an Apple Mail signature is keeping it identical on your Mac and your iPhone. Since there is no sync mechanism for HTML signatures, you must update both devices manually whenever you change your phone number, job title, or logo.
One practical approach is to store your master HTML file in a cloud drive (iCloud Drive, Dropbox, or Google Drive). When you need to make a change, edit the file on your computer, then repeat the installation steps on macOS and iOS. This is tedious, but it is the only reliable method until Apple adds proper HTML signature management to iCloud sync.
If you use multiple email accounts in Apple Mail, each account can have its own signature. On macOS, you assign signatures per account in the Signatures settings pane. On iOS, you set a default signature per account in Settings > Mail > Signature. The per-account setting on iOS is often overlooked — if your signature appears on the wrong account, check that you have selected the correct one from the list.