<?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>Something better to do &#187; Sent Items</title>
	<atom:link href="http://blog.kamens.us/tag/sent-items/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kamens.us</link>
	<description>Musings of an indignant mind</description>
	<lastBuildDate>Mon, 06 Feb 2012 22:35:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
			<item>
		<title>Hack of the day: auto-filing IMAP &#8220;Sent Items&#8221; folder</title>
		<link>http://blog.kamens.us/2009/12/30/hack-of-the-day-auto-filing-imap-sent-items-folder/</link>
		<comments>http://blog.kamens.us/2009/12/30/hack-of-the-day-auto-filing-imap-sent-items-folder/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 19:51:21 +0000</pubDate>
		<dc:creator>jik</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Free software]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[IMAP]]></category>
		<category><![CDATA[Sent Items]]></category>

		<guid isPermaLink="false">http://blog.kamens.brookline.ma.us/~jik/wordpress/?p=1188</guid>
		<description><![CDATA[I file my email in different IMAP folders, grouped by topic rather than the &#8220;received messages in one folder, sent in another&#8221; model imposed nowadays by most mail clients.  It&#8217;s easy to keep the messages I receive organized by topic &#8212; when I&#8217;m done handling a message, I simply move it into the appropriate folder. [...]]]></description>
			<content:encoded><![CDATA[<p>I file my email in different IMAP folders, grouped by topic rather than the &#8220;received messages in one folder, sent in another&#8221; model imposed nowadays by most mail clients.  It&#8217;s easy to keep the messages I receive organized by topic &#8212; when I&#8217;m done handling a message, I simply move it into the appropriate folder.</p>
<p>On the other hand, organizing the copies of message I&#8217;ve sent is less straightforward.  Visiting my &#8220;Sent Items&#8221; folder every time I send a message and filing the message I&#8217;ve just sent is gross.  What I&#8217;ve done in the past is to leave all the copies in &#8220;Sent Items&#8221; and periodically file all of them one at a time.  This is time-consuming and error-prone, and what&#8217;s more, it could be at least partially automated &#8212; if I file a message I received in a particular folder, then something ought to be smart enough to figure out that the response I sent should go into the same folder.</p>
<p>After spending over an hour this morning filing &#8220;Sent Items&#8221; messages, my annoyance threshold was finally exceeded and I decided to automate the process as much as I could.  The result is <a href="http://stuff.mit.edu/~jik/software/file-sent-items.pl.txt" target="_blank">file-sent-items.pl</a>.  In a nutshell, this script reads each message in your &#8220;Sent Items&#8221; folder (or whatever it&#8217;s called), grabs the message IDs in the &#8220;Message-ID&#8221;, &#8220;Resent-Message-ID&#8221;, &#8220;In-Reply-To&#8221; and/or &#8220;References&#8221; headers, looks for a message with one of those IDs in your other folders, and if one is found, moves the sent message into its folder.  There&#8217;s a bit more too it than that, of course, which you can find out by reading the comment at the top of the script and running it with the &#8220;&#8211;help&#8221; option to get a usage message.</p>
<p>Of course, this script won&#8217;t be able to file messages that aren&#8217;t part of conversations already filed into other folders, but it still reduces by a lot the amount of filing you have to do by hand.</p>
<p>Share and enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kamens.us/2009/12/30/hack-of-the-day-auto-filing-imap-sent-items-folder/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

