So it took some time but I finally manage to get nicely formated email + signature in mail.app.
It’s very simple and I kicked myself I didn’t work it out before. Here’s what to do.
1. Create an html document
So just make a file in whatever text editor you use and make sure you use inline html for you styling. For the sake of this post here’s an example:
<div style="font-size:13px;font-family:helvetica;font-weight:bold;"> startTypingHere </div> <p style="font-size:13px;font-family:helvetica;font-weight:bold;">Your name</p>
This will be the base for the signature. The key to it is that first <div> element… Stay with me.
2. Export your signature
Mail’s format for signature is .webarchive so you need to export this html file as a .webarchive… To do so, open your file in safari, go to file > save as and put this on your desktop. You now have your signature ready to import in mail.
3. Add your signature
Now that you have your .webarchive file, you need to get it in mail. First, open mail, go to preferences > signature and create a new signature in there.
Close your preferences panel (you can also quit mail at this point) and open finder. In finder, navigate to (from your home folder) Library > Mail > Signatures.
In there, find the signature you’ve just created (sort by date modified) it will have a name like “A887E870-AAD5-4417-849E-D3F66AC78780.webarchive” Got it? Ok, now copy this file name, go your desktop and rename the file you created earlier using this name. Done? Replace the file in the “signature” folder with the file from your desktop.
You’re done.
Now open mail, compose a new mail and pick your signature. Do you remember that first <div> we added to the html? That’s the key to getting nicely formated text. Everytime you start an email, double click the words “startTypingHere” and start typing your email… Easy