[MlMt] Extract parts from strings for smart mailbox?

Oliver Sturm oliver at oliversturm.com
Mon Jan 13 04:27:25 EST 2025


Hi,

I haven’t done much with smart mailboxes, so I may be missing something. I had the idea that I could structure a source folder I use for notifications sent by GitHub.

These notification emails all show the name of the repository they apply to as part of the To header, e.g. `sveltejs/kit <kit at noreply.github.com>` would be the repository `sveltejs/kit`.

I can use this to create sub-folders, see screenshot at https://cln.sh/Zp4nk7QW .


However, in some cases the same organization (that’s the part before the slash) has many repositories, and if the org name is also quite long then I end up with a screenful of sub-folders which appear to have all the same names unless I make the mailbox/folder bar in MM super wide — and even then it’s not really a useful overview. Obviously, if the name has a string formatted as `org/repo`, then it would be great to extract the two parts and create nested sub folders for both levels, not just one.

Is there a way to do that?

Thanks
Oli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20250113/56440947/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2413 bytes
Desc: S/MIME digital signature
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20250113/56440947/attachment.bin>


More information about the mailmate mailing list