Create Custom Email Templates in Mail

Posted November 5, 2010 by Kathy Davie in Book Reviews

You must be comfortable with (or willing to learn!) simple HTML and have access to an image-editing software program in order to use this particular method of customizing one of Apple Mail’s existing stationery templates.

When contacting publishers or agents, beta readers and more, it can be cool to have email stationery that reflects your new book, new product, new service…whatever you want to share with the world. If you’re using Apple’s Mail program on your Mac, the tutorial that follows will take you step-by-step through the process of making your custom email template.

General Instructions for Working with Your New Template

You cannot move your new template outside of the Mail environment so nothing you normally do to work with or save a project will function as usual.

In general:

  1. Open a new Finder window
  2. Click through: Finder > Macintosh HD > Library > App Support >
    Apple > Mail > Stationery > Apple > Contents >
    Resources > Custom > Contents > Resources

Look Inside the Template Folder:

  1. Right-click on your newly named email template
  2. Open Show Package Contents
    1. Displays the content.html and all the supporting foreign folders and images inside your chosen template
Shows a computer screen with the location of the different selections

Figure 1. Displays the path to open your new template for customization.

Work with Your New Email Template:

  1. Right-click on your newly named email template
  2. Click Open with > Other
Shows a dialog box with the location of the different selections to open my copy of Espresso, my web editing program.

Figure 2. Shows the path for opening the HTML editing program you prefer to use.

  1. Choose an HTML editing software program (it has its issues, but I like MacRabbit’s Espresso)
Shows my applications window

Figure 3. Applications opens allowing you to choose your HTML editing program.

Return to top

Start with an Existing Template

You can use any existing template as your starting point, but we have discovered that the best existing template for our purposes is Flower as it doesn’t require a lot of fussing.

  1. Click through: Finder > Macintosh HD >
    Library > Application
    Support > Apple > Mail >
    Stationery > Apple >
    Contents > Resources
    1. With Resources selected, click through Finder > File >
      New Folder
    2. Name the new folder Custom
      1. This makes it easier to keep track of the new template on which you are working
Shows a general idea of what your directory looks like with a custom folder and its location

Figure 4. I just love how computers automatically file folders and files alphabetically.

  1. Click back to Resources to allow the new folder to slip into place
  2. Copy flower.
    (not all of the templates lend themselves to customization as they have too many parts which will drive you nuts trying to line up)
  3. Back up to the Custom folder
    1. Paste flower.
      into this folder
    2. Rename it yourclient.

      (I’m using kddidit)

Return to top

Make This Email Template Yours

Import Your Images

Each template has a different width, so if you choose anything other than “flower”, check the width.

Note that the width (for Flower) is 740px. Ensure that any images which span the width of the template body look good at 740px (check the width if/when you choose any other template as they all different).

  1. Right-click on your newly named email template
  2. Open Show Package Contents
    1. Displays the content.html and all the supporting foreign folders and images inside your chosen template
  3. Open a second Finder window (you want two Finder windows open)
  4. Navigate to your desired images
Visually shows the path of folders to click to get to your new template.

Figure 5. Displays the path to open your new template for customization. It’s a maze, and you’ll feel like you’re clicking for days.

  1. Position this Finder window so it’s next to the Finder window from Working with…
  2. Select the images you want to use in your new Email Template
  3. Copy the images
  4. Select the Resources folder
  5. Paste your desired images into the Resources folder
Shows two Finder windows open on the screen

Figure 6. Having two Finder windows open makes it easier to keep track of the images you are copying into your new email template files.

Return to top

Customize Email Template

Keep in mind that, inside the content.html
, you can change the font, its color, and its size as well.

Apple uses tables to create their layout so be comfortable with HTML coding for tables.

<table><table> – contains the table; tells the browser that all the code in between is a table.

<tr></tr> – starts and ends a table row

You can have as many <tr>s as you want

<td></td> – contains the contents of a table cell and goes inside the <tr></tr>

The number of table cells in a row, <td>s, can depend upon the width of the actual table AND the width the table cell’s contents take up (or that you choose to dictate).

<table> Tells the browser that this is the beginning of a table layout

<tr> Indicates the start of a table row

<td>This begins the table cell contents

yadda-yadda, yadda

</td> Ends the table cell contents

Add <td></td>s as desired…

</tr> Indicates the end of a table row

</table> Ends the table layout

Return to top

Using Your Images

Contrary to normal HTML/CSS coding, your images will not appear simply because you have changed the coding in the mailstationery. Each existing image for Flower needs to be replaced with your own images using THEIR filenames:

  • bg_letter.jpg
Shows the stationery body area with its creamy ribbed background and pale blue borders on the left and right

Figure 7. 740px wide x 414px high. It will expand as needed.

  • bg_pattern.jpg
Displays a sample of the blue ribbed border

Figure 8. 135px wide x 231px high. It will expand as needed.

  • bottom.jpg
Displays the bottom of the template showing the sides and bottom border with the shorter body graphic inside

Figure 9. 740px wide x 129px high.

  • top.jpg
Displays the top of the template showing the sides and top border with the shorter body graphic inside and any decorate graphics in the header area

Figure 10. 740px wide x 146px high.

  • thumbnail.png
Displays a thumbnail-sized image of the whole template

Figure 11. 66px wide x 90px high. This functions as the image you will see in the Mail program when you click Show Stationery.

Depending upon your design, you may simply rename your own image files to reflect the ones provided in mailstationery or open bg_letter, bottom, and top image files and replace the colors and textures with what is needed to create the custom design you want.

The texture/color used in bg_pattern can be replaced by anything you want; the size does not matter.

Once you have created a satisfactory template, the easiest way to create a new thumbnail image is to open Mail > New Message > Show Stationery > choose the new stationery you have just created and snap a screenshot (hold down CMD + SHIFT + 4 and then click-drag the mouse to encompass the new template). Open the screenshot in your image-editing program and change its size to 66px x 90px—otherwise it won’t appear in Mail.

Return to top

Ensure Appearance of New Template in Mail

There are three places where you need to change the name of your template to ensure it will show up in Mail: content.html, Description.plist, and English.lproj > DisplayName.strings.

You must use the exact same spacing and capitalization in all four areas including the .mailstationery.


  1. Change the <title> inside the content.html page
Visually shows where to change the name of the new template

Figure 12. Only <title> needs changing inside the content.html file.


  1. The file, Description.plist, is the second name change that is needed.
  2. Only <string>needs changing</string> inside the Description.plist file.
Visually shows where to change the name of the new template in the plist

Figure 13. Look for the .mailstationery file extension to know which name to change in the Description.plist file.


  1. Find this bit of script, DisplayName.string, inside the English.lproj folder
    1. If you plan on using a language other than English, you will need to change those .lproj files
Visual assurance of the folder and file's location are in Finder

Figure 14. The LPROJ folders contain the DisplayName.string files.

  1. Change the Display Name to exactly match the previous two name changes above.
Visual assurance of what the original Display Name looks like and what yours should look like

Figure 15. It’s even easier to changing the name in the DisplayName.string file than it was in content.html.

Return to top

Create a Thumbnail

Once you’ve customized the template’s appearance, you need to replace the existing thumbnail. The thumbnail is the reference that Mail displays when you click Show Stationery.

  1. Take a screenshot of the entire page
    1. Easiest if you create a New Message in Mail
    2. Click Show Stationery
    3. Navigate to Custom
    4. Double-click the new template
    5. Click Hide Stationery
    6. Adjust the message window so you see the whole template
    7. Click CMD + SHIFT + 3 to take picture of the entire screen
  2. Open your image-editing program
    1. Open the screenshot
    2. Crop it to just the template image
    3. Reduce the image size to 69px wide x 90px high
  1. Save the image as thumbnail.png to replace the original PNG file inside yourclient.mailstationery
    1. It may default to saving it to the Resources folder (either the folder just before yourclient.
      OR the Resources folder prior to the categories of stationery)
    2. Drag the thumbnail.png into your Package Contents if this occurs
  2. Apple will ask if you want to replace an older thumbnail.png
  3. Say yes
Visually shows the choices to click to save the new thumbnail

Figure 16. It’s a good thing! You do want to replace the existing thumbnail.

Return to top

Verify the Changes

Check out the name and thumbnail changes by:

  1. Open Mail
  2. Create a New Message
  3. Click Show Stationery
  4. Navigate to Custom
  5. And…voila!

Easily Send the Custom Template to Your Client

If you have created this custom template for a client, a family member, a friend, etc. you might want to make it easy for them to install it. You already know the long path you had to follow, do you really think they want to take that trek?

Create a DMG package that allows them to simply drag-and-drop to install the new template. And once you’ve got the DMG package install, you have it forever.


If, for some reason, the changes do not appear, shut down Mail and re-open it.

If the changes still do not appear, reboot the computer. Sometimes you just need to recharge the system!

Hire a pro!
KD Did It will work with you.

Return to top

Leave a Reply