<div class="markdown">
<p dir="auto">On 8 Sep 2013, at 21:15, Ralph Alvy wrote:</p>

<blockquote>
<p dir="auto">I don't see a way to create a Smart Mailbox that sees all and only messages with Tags. Is there a way to do this?</p>
</blockquote>

<p dir="auto">Yes, but I'm not 100% sure it always works as expected (when changing tags or tags preferences): There is a virtual header named <code>##tags</code> which should contain the subset of items in IMAP flags/keywords which have been mapped to tags in the preferences. You can find it by using the “Other...” menu item when selecting the header in the search condition. In that view it is displayed as <code>#Tags*</code> (how these headers are presented is something that should be improved).</p>

<p dir="auto">Using that you should be able to make a simple search like this:</p>

<pre><code>#Tags exists
</code></pre>

<p dir="auto">In case somebody wonders about the use of hash symbols then the header naming scheme is as follows:</p>

<table><thead>
<tr>
<th align="center">Number of #s</th>
<th>Examples</th>
<th>Meaning</th>
</tr>
</thead><tbody>
<tr>
<td align="center">0</td>
<td>from, to, subject</td>
<td>A real header from the email</td>
</tr>
<tr>
<td align="center">1</td>
<td>#flags, #unquoted</td>
<td>A virtual header stored on disk</td>
</tr>
<tr>
<td align="center">2</td>
<td>##tags</td>
<td>A virtual header computed when needed</td>
</tr>
</tbody></table>

<p dir="auto">Of course, most users do not need to know this :-)</p>

<p dir="auto">-- <br>
Benny</p>

</div>