<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family: sans-serif;"><div class="markdown" style="white-space: normal;">
<p dir="auto">On 20 Sep 2024, at 10:41, Fredrik Jonsson wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777;">
<p dir="auto">leo 2024-09-20 19:34 wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; border-left-color: #999999; color: #999999;">
<p dir="auto">I have sometimes a little flood of invoice emails (HTML format) coming in. At lot of them have in their content the string “€0.00”.</p>
</blockquote>
<p dir="auto">My solution for this is to set up a smart mailbox that collects all the relevant e-mails.</p>
<p dir="auto">Then I add a rule to that smart mailbox that marks all new e-mails as read (or whatever else one want to do with them).</p>
</blockquote>
<p dir="auto">If the messages are all arriving in the same mailbox, there's no need to create a smart mailbox, just create a rule in the Inbox where they arrive. To avoid accidentally marking other mail that happens to contain “€0.00”, add some other criteria. For example, if they all come from the same address or there's something else about them, add that as well.</p>
<ol>
<li>
<p dir="auto">Right-click on the mailbox in which they arrive (e.g., "Inbox" of the account) and click "Edit Rules..."</p>
</li>
<li>
<p dir="auto">his opens a pane with your existing rules.</p>
</li>
<li>
<p dir="auto">If you haven't yet created any rules for this mailbox, click "Create Rule..."</p>
</li>
<li>
<p dir="auto">If you have existing rules, the pane shows a list of rules on the left and one of the rules on the right. Click the "+" in the lower left.</p>
</li>
<li>
<p dir="auto">A form to create a new rule appears on the right.</p>
</li>
<li>
<p dir="auto">In the "Description" field give the rule a name (e.g., "Mark Invoices Read").</p>
</li>
<li>
<p dir="auto">Click the "+" under "Conditions".</p>
</li>
<li>
<p dir="auto">This will add two lines. The first says "All of the following". Under that is a sample rule, e.g., [ From -> Name ] [ Is ] [ John Appleseed ].</p>
</li>
<li>
<p dir="auto">Change "From -> Name" to whatever header field the invoices all have in common that other messages probably don't have, and the value box from "John Appleseed" to whatever value will be in that field. You may need to change "Is" to "Contains" or some such. E.g., if the messages all come from "<a href="mailto:invoice-billing@invoice.com" style="color: #3983C4;">invoice-billing@invoice.com</a>", change the rule to something such as [ From -> Address ] [ Is ] [ <a href="mailto:invoice-billing@invoice.com" style="color: #3983C4;">invoice-billing@invoice.com</a>" ].</p>
</li>
<li>
<p dir="auto">Click the "+" at the right of the rule you just edited. This adds a new rule form below.</p>
</li>
<li>
<p dir="auto">Set this rule to something such as [ Unquoted text ] [ Contains ] [ €0.00 ].</p>
</li>
<li>
<p dir="auto">Click the "+" under "Actions". This creates an action form. Set this to [ Set Tag/Keyword ] [ Seen (Read) ].</p>
</li>
<li>
<p dir="auto">Click "Commit" on the lower right.</p>
</li>
</ol>
<p dir="auto">--Randall</p>
</div>
</div>
</body>
</html>