How to Create a Personalized HTML Email Signature

| How-To


Now it’s time to head into the Terminal. Apple Mail signatures are saved as special files with the .mailsignature extension. These aren’t easy to find when browsing in Finder, even if you show hidden files. Instead, it’s much easier to use Terminal.

Since we used iCloud to save the signature, the code you can copy and paste is:

ls -laht ~/Library/Mobile\ Documents/com~apple~mail/Data/V4/Signatures/
Finding the mail signature files in Terminal to create an HTML email signature.

Listing the .mailsignature files

This will bring up a list of email signature code. Your most recently created signature will be at the top of the list, ending with .mailsignature. Now, we’re going to open those files in TextEdit with the following command:

open -a TextEdit ~/Library/Mobile\ Documents/com~apple~mail/Data/V4/Signatures/*.mailsignature

This will open TextEdit with each .mailsignature file. If you have more than one signature, more than one TextEdit tab will open. Find the one that matches the corresponding most recent file in Terminal. For me, I have to search for the one that begins with 6BC. It will probably be the first tab.

Remember when we used PLACEHOLDER TEXT? It should be easy to find in the TextEdit window, so you know you have the correct one.

Opening the mail signature file in TextEdit to create an HTML email signature.

The placeholder text lets me know I have the correct file

3 Comments Add a comment

  1. John Kheit

    Wow, super job Andrew! Sad that Apple doesnt let you do this easier, but really appreciate you showing us the flaming hoops!

  2. BarryS

    There is an easier way. I use TextEdit to create my signature (fonts and colors), then go to Signatures in Mail, create a new one, paste it in, and that’s that.

Add a Comment

Log in to comment (TMO, Twitter, Facebook) or Register for a TMO Account