<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title>Terracrypt</title><id>https://www.terracrypt.net/feeds/tags/email.xml</id><subtitle>Tag: email</subtitle><updated>2026-03-01T20:46:16Z</updated><link href="https://www.terracrypt.net/feeds/tags/email.xml" rel="self" /><link href="https://www.terracrypt.net" /><entry><title>Email experiments: filtering out external images</title><id>https://www.terracrypt.net/posts/email-experiments-image-filtering.html</id><author><name>Jonathan Frederickson</name><email>jonathan@terracrypt.net</email></author><updated>2025-12-29T14:10:00Z</updated><link href="https://www.terracrypt.net/posts/email-experiments-image-filtering.html" rel="alternate" /><content type="html">&lt;p&gt;I had a realization the other day that, on almost every email in my inbox, my mail client has a &amp;quot;show external images&amp;quot; option. Most email I receive references externally loaded images via HTML. There are good reasons for this (not needing to send a copy of an image in every email on a newsletter) as well as nefarious reasons (the remote server can track where/when you load the image). So most mail clients I've used don't load them by default for obvious privacy reasons.&lt;/p&gt;&lt;p&gt;This got me thinking about the reverse, though: what email do I receive that does &lt;em&gt;not&lt;/em&gt; include external images? And the answer is, mostly, email sent manually by a real human! I'm fairly certain I've never sent an email to another person in my personal life with an externally loaded image in it. When I have, it's been work email with a standard corporate email signature (that I'm sure was being tracked, natch). Mostly, when sending images to someone, they're sent as attachments to the email.&lt;/p&gt;&lt;p&gt;So I had a realization that, if I wanted to naturally filter email that was sent by hand from email sent from an automated system, this might be a decent proxy for that. Here's the sieve rule I landed on for now:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;if body :regex &amp;quot;&amp;lt;img[^&amp;gt;]*src=\&amp;quot;https&amp;quot; {
  fileinto &amp;quot;Inbox.Automated&amp;quot;;
}&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;(Yes, it's typically folly to regex on HTML. This is a simple enough match though that I hope it's fine!)&lt;/p&gt;&lt;p&gt;So far, after a day or so of usage, it's been shockingly effective. There's enough potentially important stuff in my Automated folder that I will need to check that fairly frequently, but the one email that's made it through this filter into my normal inbox is one sent by hand to a mailman list. Honestly, I'll take it! This makes the volume of email in my normal inbox much much more manageable, and I expect most mail that lands there will be things I actually do want to pay attention to.&lt;/p&gt;&lt;p&gt;Probably you'll want to have another rule that prevents you from running this for email from people in your contacts. I haven't done that yet, but that'll be a natural next step.&lt;/p&gt;&lt;p&gt;This is part of my &lt;a href=&quot;/posts/tags/da2025.html&quot;&gt;December Adventure 2025 series&lt;/a&gt;.&lt;/p&gt;</content></entry></feed>