<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hawk Wings &#187; envelope</title>
	<atom:link href="http://www.hawkwings.net/tag/envelope/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hawkwings.net</link>
	<description>Tips and add-ons to make Apple Mail / Mail.app even better</description>
	<lastBuildDate>Tue, 26 Jul 2011 07:44:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>VacuumMail: Automated Mail vacuuming via Launchd</title>
		<link>http://www.hawkwings.net/2007/03/18/vacuummail-automated-mail-vacuuming-via-launchd/</link>
		<comments>http://www.hawkwings.net/2007/03/18/vacuummail-automated-mail-vacuuming-via-launchd/#comments</comments>
		<pubDate>Sun, 18 Mar 2007 11:55:15 +0000</pubDate>
		<dc:creator>Tim Gaden</dc:creator>
				<category><![CDATA[Apple Mail]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[envelope]]></category>
		<category><![CDATA[launchd]]></category>
		<category><![CDATA[mail.app]]></category>
		<category><![CDATA[speeding up]]></category>
		<category><![CDATA[spring clean]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://www.hawkwings.net/2007/03/18/vacuummail-automated-mail-vacuuming-via-launchd/</guid>
		<description><![CDATA[Leland Scott has taken the best bits of several scripts that automate the vacuuming of Mail&#8217;s Envelope index and rolled them together into a solution that will automate the cleaning process using Mac Os X&#8217;s Launchd service. The result, VacummMail, is a clever little utility that can be run anytime with two clicks of the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hawkwings.net/wp-content/uploads/2007/03/screenshot_1.jpeg" alt=""  align="right" border="0" hspace="10" vspace="0" height="109" width="110"/>Leland Scott has taken the best bits of <a href="http://www.hawkwings.net/2007/03/03/scripts-to-automate-the-mailapp-envelope-speed-trick/">several scripts that automate the vacuuming of Mail&#8217;s Envelope index</a> and rolled them together into a solution that will automate the cleaning process using Mac Os X&#8217;s Launchd service.</p>
<p>The result, VacummMail, is a clever little utility that can be run anytime with two clicks of the mouse for a manual clean up.</p>
<p>It features a series of dialogs that tell you what is about to happen and what has happened, which is always satisfying:</p>
<div align=center><img src="http://www.hawkwings.net/wp-content/uploads/2007/03/vacuummaildialog.jpg" alt="Vacuummaildialog" height="197" width="396"/></div>
<p>Even better, the process can be automated by placing the app into your <span id="code">/Applications/Utilities</span> folder and the included plist file into your <span id="code">~/Library/LaunchAgents</span> folder.</p>
<p>By default, this will run the app at 1 pm every Tuesday.  If that time doesn&#8217;t suit, it can easily be changed using <a href="http://lingon.sourceforge.net/">Lingon</a> <img src="http://www.hawkwings.net/images/extlink.jpg"/>, an open source launchd configuration file editor:</p>
<div align=center><img src="http://www.hawkwings.net/wp-content/uploads/2007/03/lingonvacuumamil1.jpg" alt="Lingonvacuumamil" height="380" width="450"/></div>
<p>You can get VacuumMail <a href="http://www.musingsfrommars.org/2007/03/vacuummail-will-speed-up-apple-mail.html">from Leland&#8217;s web site</a> <img src="http://www.hawkwings.net/images/extlink.jpg"/>.<tags>mail.app, apple mail, envelope, SQLite, launchd, productivity, spring clean, speeding up</tags><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.hawkwings.net/2007/07/18/speedmail-slick-envelope-rebuilding-app-for-mail/" rel="bookmark" title="18 July 2007, 9:19 pm">SpeedMail: Slick Envelope Rebuilding app for Mail</a></li>
<li><a href="http://www.hawkwings.net/2007/03/03/scripts-to-automate-the-mailapp-envelope-speed-trick/" rel="bookmark" title="3 March 2007, 11:35 pm">Scripts to automate the Mail.app Envelope speed trick</a></li>
<li><a href="http://www.hawkwings.net/2006/02/01/the-dreaded-your-home-directory-is-full-message/" rel="bookmark" title="1 February 2006, 11:26 am">The dreaded &#8220;your home directory is full&#8221; error</a></li>
<li><a href="http://www.hawkwings.net/2005/08/11/onyx-now-cleans-your-mail-folder/" rel="bookmark" title="11 August 2005, 8:24 am">Onyx now cleans your Mail folder</a></li>
<li><a href="http://www.hawkwings.net/2007/03/01/a-faster-way-to-speed-up-mailapp/" rel="bookmark" title="1 March 2007, 11:08 pm">A faster way to speed up Mail.app</a></li>
</ul>
<p><!-- Similar Posts took 6.769 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hawkwings.net/2007/03/18/vacuummail-automated-mail-vacuuming-via-launchd/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Scripts to automate the Mail.app Envelope speed trick</title>
		<link>http://www.hawkwings.net/2007/03/03/scripts-to-automate-the-mailapp-envelope-speed-trick/</link>
		<comments>http://www.hawkwings.net/2007/03/03/scripts-to-automate-the-mailapp-envelope-speed-trick/#comments</comments>
		<pubDate>Sat, 03 Mar 2007 12:35:28 +0000</pubDate>
		<dc:creator>Tim Gaden</dc:creator>
				<category><![CDATA[Apple Mail]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Apple Mail Tips]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[automate]]></category>
		<category><![CDATA[envelope]]></category>
		<category><![CDATA[iCal]]></category>
		<category><![CDATA[mail.app]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://www.hawkwings.net/2007/03/03/scripts-to-automate-the-mailapp-envelope-speed-trick/</guid>
		<description><![CDATA[Thursday&#8217;s tip about trimming the fat out of Mail&#8217;s Envelope Index for a leaner, faster Mail.app got a fair bit of coverage. Two readers liked it so much that they have produced applescripts to do the job. Sebastian Morsch has written a script that quits Mail, runs the sqlite commands and then relaunches Mail at [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hawkwings.net/wp-content/uploads/2007/03/speedymail1.jpg" alt="Speedymail"  align="right" border="0" hspace="10" vspace="0" height="101" width="130"/>Thursday&#8217;s tip about <a href="http://www.hawkwings.net/2007/03/01/a-faster-way-to-speed-up-mailapp/">trimming the fat out of Mail&#8217;s Envelope Index</a> for a leaner, faster Mail.app got a fair bit of coverage.</p>
<p>Two readers liked it so much that they have produced applescripts to do the job.</p>
<p><a href="http://homepage.mac.com/sebastianmorsch">Sebastian Morsch</a> <img src="http://www.hawkwings.net/images/extlink.jpg"/> has written a script that quits Mail, runs the sqlite commands and then relaunches Mail at the end of the process.  You can <a href="http://web.mac.com/sebastianmorsch/iWeb/Web-Site/Programming_files/OptimizeMail.scpt.zip">get the script</a> <img src="http://www.hawkwings.net/images/extlink.jpg"/> from his web site. </p>
<p>&#8220;pmbuko&#8221; has written another, which does the same thing (modified as suggested in the comments below by Romulo &#8212; Thanks!) :</p>
<p><span id="code">tell application &#8220;Mail&#8221; to quit<br />
set sizeBefore to do shell script &#8220;ls -lah ~/Library/Mail | grep -E &#8216;Envelope Index$&#8217; | awk {&#8216;print $5&#8242;}&#8221;<br />
do shell script &#8220;/usr/bin/sqlite3 ~/Library/Mail/&#8217;Envelope Index&#8217; vacuum&#8221;<br />
set sizeAfter to do shell script &#8220;ls -lah ~/Library/Mail | grep -E &#8216;Envelope Index$&#8217; | awk {&#8216;print $5&#8242;}&#8221;<br />
display dialog (&#8220;Mail index before: &#8221; &#038; sizeBefore &#038; return &#038; &#8220;Mail index after: &#8221; &#038; sizeAfter &#038; return &#038; return &#038; &#8220;Enjoy the new speed!&#8221;)<br />
tell application &#8220;Mail&#8221; to activate</span></p>
<p>It gives you some feedback on what happens:</p>
<div align=center><img src="http://www.hawkwings.net/wp-content/uploads/2007/03/optimisemailscript.jpg" alt="Optimisemailscript" height="196" width="391"/></div>
<p>You can grab the text of the second script above or <a href="http://www.hawkwings.net/files/OptimiseEnvelope.scpt.zip">download it in a zip file</a> I&#8217;ve uploaded to the site.</p>
<p>Obviously, the law of diminishing returns is in play here.  The first time you run it, the benefit is tremendous. Run it again soon after and there is not so much bloat to remove and, hence, not as great an improvement.</p>
<p><img src="http://www.hawkwings.net/wp-content/uploads/2007/03/icalalarm.jpg" alt="Icalalarm"  align="right" border="0" hspace="10" vspace="0" height="327" width="200"/>Still, as some have pointed out, this should be a regular maintenance routine for Mail.  You can wait for the Mail Development Team to implement it or with one of these rules and iCal, you can automate it yourself.</p>
<p>All you need to do is create a recurring event in iCal and use the &#8220;Run script&#8221; option in the alarm feature to run the script.</p>
<p>So, save the script somewhere sensible &#8212; I saved mine in the <span id="code">~/Library/Scripts/ Applications/Mail</span> folder.</p>
<p>Create the event. </p>
<p>Click on the alarm field in the event&#8217;s information pane, and select &#8220;Run script&#8221;.</p>
<p>When prompted, navigate to the script and select it.</p>
<p>I&#8217;ve added an end for the event after 100 instances because my Palm really hates events with no end date.  You may be luckier.</p>
<p>Now you can enjoy a lean Envelope Index long after you have forgotten about the tip. </p>
<p>[With thanks to Sebastian and pmbuko]</p>
<p><strong>UPDATE:</strong> If you prefer Automator to AppleScript, Steve Weintraub <a href="http://automatorworld.com/archives/mail-vacuum/">has created an Automator action</a> <img src="http://www.hawkwings.net/images/extlink.jpg"/> to do the same thing.<tags>mail.app, apple mail, applescript, scripts, automate, ical, tips, envelope, speed, sqlite, productivity</tags><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.hawkwings.net/2007/03/01/a-faster-way-to-speed-up-mailapp/" rel="bookmark" title="1 March 2007, 11:08 pm">A faster way to speed up Mail.app</a></li>
<li><a href="http://www.hawkwings.net/2007/07/18/speedmail-slick-envelope-rebuilding-app-for-mail/" rel="bookmark" title="18 July 2007, 9:19 pm">SpeedMail: Slick Envelope Rebuilding app for Mail</a></li>
<li><a href="http://www.hawkwings.net/2006/02/08/rebuild-your-database-and-speed-up-mailapp/" rel="bookmark" title="8 February 2006, 12:57 am">Rebuild your database and speed up Mail.app</a></li>
<li><a href="http://www.hawkwings.net/2006/02/01/the-dreaded-your-home-directory-is-full-message/" rel="bookmark" title="1 February 2006, 11:26 am">The dreaded &#8220;your home directory is full&#8221; error</a></li>
<li><a href="http://www.hawkwings.net/2007/11/08/leopard-mail-and-the-envelope-speed-trick/" rel="bookmark" title="8 November 2007, 11:05 pm">Leopard Mail and the Envelope Speed Trick</a></li>
</ul>
<p><!-- Similar Posts took 6.571 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hawkwings.net/2007/03/03/scripts-to-automate-the-mailapp-envelope-speed-trick/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
		</item>
		<item>
		<title>A faster way to speed up Mail.app</title>
		<link>http://www.hawkwings.net/2007/03/01/a-faster-way-to-speed-up-mailapp/</link>
		<comments>http://www.hawkwings.net/2007/03/01/a-faster-way-to-speed-up-mailapp/#comments</comments>
		<pubDate>Thu, 01 Mar 2007 12:08:54 +0000</pubDate>
		<dc:creator>Tim Gaden</dc:creator>
				<category><![CDATA[Apple Mail]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Apple Mail Tips]]></category>
		<category><![CDATA[envelope]]></category>
		<category><![CDATA[mail.app]]></category>
		<category><![CDATA[POP]]></category>
		<category><![CDATA[speed boost]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://www.hawkwings.net/2007/03/01/a-faster-way-to-speed-up-mailapp/</guid>
		<description><![CDATA[UPDATE: A number of posters in the comments have pointed out that it is possible to run this command on just one line in the Terminal and to leave some of it out. See the comments if you are interested in more fancy ways to get the job done. As everyone knows, it is possible [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hawkwings.net/wp-content/uploads/2007/03/speedymail.jpg" alt="Speedymail"  align="right" border="0" hspace="10" vspace="0" height="101" width="130"/><strong>UPDATE:</strong> <em>A number of posters in the comments have pointed out that it is possible to run this command on just one line in the Terminal and to leave some of it out. See the comments if you are interested in more fancy ways to get the job done.</em></p>
<p>As everyone knows, it is possible to get quite a speed boost out of Mail.app by stripping all the bloat out of its Envelope index, an SQLite database Mail uses to store senders, recipients, subjects and so on.</p>
<p>In <a href="http://www.hawkwings.net/2006/02/08/rebuild-your-database-and-speed-up-mailapp/">a past Hawk Wings tip</a> <img src="http://www.hawkwings.net/images/extlink.jpg"/>, I suggested that quitting Mail, deleting the Envelope file and restarting Mail would force a rebuild that produces a leaner, faster email experience.</p>
<p>In October last year Dallas noticed a faster way to get the same result and posted it in the comments to that tip.  </p>
<p>And there it remained until I noticed that <a href="http://www.shauninman.com/">Shaun Inman</a> <img src="http://www.hawkwings.net/images/extlink.jpg"/> (an iCelebrity and developer of <a href="http://haveamint.com/">Mint</a> <img src="http://www.hawkwings.net/images/extlink.jpg"/> which counts the peeps on Hawk Wings) had noticed it.</p>
<p>Here it is.</p>
<p>1. Quit Mail.</p>
<p>2. Open Terminal.</p>
<p>3. Type the following:</p>
<p><span id="code">cd ~/Library/Mail<br />
sqlite3 Envelope\ Index</span></p>
<p>An <span id="code">sqlite></span> prompt will appear.</p>
<p>At that prompt, type <span id="code">vacuum subjects;</span>. </p>
<p>After a short delay, the prompt will return. Type Control-D to exit.</p>
<p>4. Restart Mail and enjoy the extra speed.</p>
<p>The first time he tried this, Rob Griffiths of macOSXHints reduced his Envelope index from 25.9MB to 4.5MB. My result was less dramatic (21.6MB -> 17.6MB) but Mail.app still felt a lot more zippy. </p>
<p>Some anecdotal evidence suggests that POP users don&#8217;t see the same reductions.  Can any POP user out there confirm this?</p>
<p><strong>UPDATE:</strong> It is easy to automate this using iCal and an applescript. See &#8220;<a href="http://www.hawkwings.net/2007/03/03/scripts-to-automate-the-mailapp-envelope-speed-trick/">Automating the Envelope speed trick</a>&#8220;.<tags>mail.app, apple mail, sqlite, envelope, speed boost, tips, productivity, POP</tags><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.hawkwings.net/2007/07/18/speedmail-slick-envelope-rebuilding-app-for-mail/" rel="bookmark" title="18 July 2007, 9:19 pm">SpeedMail: Slick Envelope Rebuilding app for Mail</a></li>
<li><a href="http://www.hawkwings.net/2006/02/01/the-dreaded-your-home-directory-is-full-message/" rel="bookmark" title="1 February 2006, 11:26 am">The dreaded &#8220;your home directory is full&#8221; error</a></li>
<li><a href="http://www.hawkwings.net/2006/02/08/rebuild-your-database-and-speed-up-mailapp/" rel="bookmark" title="8 February 2006, 12:57 am">Rebuild your database and speed up Mail.app</a></li>
<li><a href="http://www.hawkwings.net/2007/03/03/scripts-to-automate-the-mailapp-envelope-speed-trick/" rel="bookmark" title="3 March 2007, 11:35 pm">Scripts to automate the Mail.app Envelope speed trick</a></li>
<li><a href="http://www.hawkwings.net/2007/11/08/leopard-mail-and-the-envelope-speed-trick/" rel="bookmark" title="8 November 2007, 11:05 pm">Leopard Mail and the Envelope Speed Trick</a></li>
</ul>
<p><!-- Similar Posts took 6.805 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hawkwings.net/2007/03/01/a-faster-way-to-speed-up-mailapp/feed/</wfw:commentRss>
		<slash:comments>256</slash:comments>
		</item>
		<item>
		<title>Address Book and Mail icons in four colours</title>
		<link>http://www.hawkwings.net/2006/11/20/address-book-and-mail-icons-in-four-colours/</link>
		<comments>http://www.hawkwings.net/2006/11/20/address-book-and-mail-icons-in-four-colours/#comments</comments>
		<pubDate>Mon, 20 Nov 2006 12:35:38 +0000</pubDate>
		<dc:creator>Tim Gaden</dc:creator>
				<category><![CDATA[Address Book]]></category>
		<category><![CDATA[Apple Mail]]></category>
		<category><![CDATA[envelope]]></category>
		<category><![CDATA[icons]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[letterbox]]></category>
		<category><![CDATA[mail.app]]></category>
		<category><![CDATA[stylish]]></category>

		<guid isPermaLink="false">http://www.hawkwings.net/2006/11/20/address-book-and-mail-icons-in-four-colours/</guid>
		<description><![CDATA[French design company mac@dam has produced a set of twenty icons in four colours revolving around a &#8220;mail theme&#8221;. The icons which come in silver, black, red and blue, include the classic Mail.app stamp icon, a letter box, an envelope and an &#8220;icard&#8221;. I am pretty confident that the animal in the icons is a [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hawkwings.net/wp-content/uploads/2006/11/leopardmail.jpg" alt="Leopardmail" align="right" border="0" hspace="10" vspace="0" height="101" width="100"/>French design company <a href="http://www.apple.com/downloads/macosx/icons_screensavers/mailkit.html">mac@dam</a> <img src="http://www.hawkwings.net/images/extlink.jpg"/> has produced a set of twenty icons in four colours revolving around a &#8220;mail theme&#8221;.</p>
<p>The icons which come in silver, black, red and blue, include the classic Mail.app stamp icon, a letter box, an envelope and an &#8220;icard&#8221;.</p>
<p>I am pretty confident that the animal in the icons is a leopard although at first sight I thought it was one of those wicked flying monkeys from the Wizard of Oz.</p>
<div align=center><img src="http://www.hawkwings.net/wp-content/uploads/2006/11/addressbookmailicons.jpg" alt="Addressbookmailicons" height="335" width="450"/></div>
<p>If you fancy one of these, <a href="http://www.hawkwings.net/2005/10/17/change-apple-mails-dock-icon/">changing Mail.app&#8217;s default icon</a> is easy. </p>
<p>The icons are freeware and are available in the <a href="http://www.apple.com/downloads/macosx/icons_screensavers/mailkit.html">Downloads section</a> <img src="http://www.hawkwings.net/images/extlink.jpg"/> of Apple&#8217;s web site.<tags>mail.app, apple mail, address book, icons, stylish, letterbox, envelope, leopard</tags><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.hawkwings.net/2006/12/06/five-black-and-white-bob-dylan-mail-icons/" rel="bookmark" title="6 December 2006, 12:00 am">Five black and white Bob Dylan mail icons</a></li>
<li><a href="http://www.hawkwings.net/2006/03/19/a-mailapp-style-thunderbird-icon/" rel="bookmark" title="19 March 2006, 12:24 am">A Mail.app-style Thunderbird icon</a></li>
<li><a href="http://www.hawkwings.net/2006/02/16/matrix-style-mailapp-stamp-icon/" rel="bookmark" title="16 February 2006, 12:57 am">Matrix-style Mail.app stamp icon</a></li>
<li><a href="http://www.hawkwings.net/2007/01/12/hawk-wings-mail-stamp-icon-list-tops-300/" rel="bookmark" title="12 January 2007, 12:02 am">Hawk Wings Mail stamp icon list tops 300+</a></li>
<li><a href="http://www.hawkwings.net/2008/06/05/new-mail-stamp-icons-simpsons-mario-brothers-uk-stamps/" rel="bookmark" title="5 June 2008, 12:06 am">New Mail Stamp Icons: Simpsons, Mario Brothers, UK stamps</a></li>
</ul>
<p><!-- Similar Posts took 6.504 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hawkwings.net/2006/11/20/address-book-and-mail-icons-in-four-colours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

