Skip to content

Instantly share code, notes, and snippets.

@dotspencer
Last active July 7, 2016 21:34
Show Gist options
  • Save dotspencer/0dc35affbd93ab87ba895d1b60ea3b36 to your computer and use it in GitHub Desktop.
Save dotspencer/0dc35affbd93ab87ba895d1b60ea3b36 to your computer and use it in GitHub Desktop.
Custom Mac Mail Stationery
  1. Create folder named Staff Info Request.mailstationery
  2. Inside, create folders Contents/Resources/
  3. Save as image and convert to thumbnail.tiff: http://i.stack.imgur.com/t7239.png
  4. Replace auto-generated thumbnail.tiff after installation with custom image.

Location of custom mac mail stationery:

~/Library/Containers/com.apple.mail/Data/Library/Application Support/Mail/Stationery/Apple/Contents/Resources/Custom/

More info here: http://www.chriswrites.com/create-custom-html-email-templates-in-the-os-x-mail-app/

<html>
<head></head>
<body dir="auto" style="background-color:white;font-family:Calibri,sans-serif;font-size:16px;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="content" style="background-color:#f5f5f5;border:1px solid;border-color:#DEDEDE;width:500px;margin:0 auto;padding:20px 30px;margin-top:15px;">
<p>Hello <span contenteditable="true" apple-content-name="body" class="">[name]</span>,</p>
<p>Informatics would like to add you to the EGI staff page. Please submit your biographical information at the page below.</p>
<p>In most cases, the additions you enter will be reflected on your staff page within 48 hours.</p>
<a style="background-color:#D81E40;color:white;text-decoration: none;padding:10px 15px;margin:15px 0;display: inline-block;" href="http://egi.utah.edu/about/staff/update-staff-information/">Submit Your Information</a>
</div>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Display Name</key>
<string>Staff Info Request</string>
<key>Folder Name</key>
<string>Staff Info Request.mailstationery</string>
<key>HTML File</key>
<string>content.html</string>
<key>Is User Created</key>
<string>YES</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment