matthiou<p><span class="h-card" translate="no"><a href="https://bne.social/@simon" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>simon</span></a></span> Mail > Settings > Rules can run AppleScripts when specific conditions are met ( From contains "Simon" ). <a href="https://mastodon.social/tags/AppleScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleScript</span></a> can identify attachments and process them, such as renaming and saving them to a specific location</p>