Create a proper HTML email signature in Mac Mail

Open Apple Mail

Apple Mail does not let you paste raw HTML directly. We have to trick it by creating a dummy signature file and swapping the insides.

  1. Open Apple Mail.

  2. Go to Mail (top menu) > Settings (or Preferences) > Signatures.

  3. Select your email account in the left sidebar.

  4. Click the + button to create a new signature. Name it “HTML Signature”.

  5. In the content box, type a placeholder word, like “REPLACEME”.

  6. Crucial Step: Drag the new signature from the middle column onto your email account in the left column so it is associated with it.

  7. Quit Apple Mail. (The app must be completely closed).

Swapping the Code

  1. Open Finder.

  2. In the top menu, click Go > Go to Folder… (or press Cmd + Shift + G).

  3. Paste this path and hit Enter: ~/Library/Mail/

  4. You will see folders like V10, V9, etc. Open the folder with the highest number (e.g., V10 or V11 for newer macOS).

  5. Go to MailData > Signatures.

  6. Look for the file ending in .mailsignature that was Modified Today (it should be the newest one).

  7. Right-click that file > Open With > TextEdit.

The Surgical Part: You will see a block of metadata at the top (lines starting with Mime-Version, Content-Transfer-Encoding, etc.).

  1. Do NOT touch the top metadata lines.

  2. Look for <body> (or where your placeholder text “REPLACEME” is).

  3. Delete everything below the metadata header block.

  4. Paste your custom HTML code (from Phase 2) into the file.

  5. Save the file (Cmd + S) and close TextEdit.

Locking the File

If you open Mail now, it might overwrite your work. You must lock the file.

  1. In Finder, click the .mailsignature file you just edited.

  2. Press Cmd + I (Get Info).

  3. Check the box labeled Locked.

  4. Close the Info window.

Verify

  1. Open Apple Mail.

  2. Go to Compose a new email.

  3. Select your new signature.

    • Note: You might not see the image immediately in the compose window (remote images are sometimes blocked in drafts), or the formatting might look slightly different than the final result.

  4. Send a test email to yourself (ideally to a Gmail account or your phone) to verify the logo loads and is not an attachment.