<!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 27 Jan 2025, at 11:12, Oliver Sturm via mailmate wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777;">
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; border-left-color: #999999; color: #999999;">
<p dir="auto">There's currently no way to have 2 levels of submailboxes. I'm a big fan of general features, but in this case I failed :)</p>
</blockquote>
<p dir="auto">Okay… I’m surprised.</p>
</blockquote>
<p dir="auto">:)</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777;">
<p dir="auto">I was expecting you to say something like, yes, you can totally do that by simply creating a regex with multiple capturing groups. For instance, <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">(?<owner>[^\s/]+)/(?<repo>[^\s<]+)</code> will grab two named capturing groups which can then be used in the naming field for the mailbox like <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">${regex.owner}/${regex.repo}</code> to create sub-mailboxes.</p>
</blockquote>
<p dir="auto">Well, low level you can define specifiers which would make the owner/repo values available (everywhere in MailMate) including for making submailboxes. The missing part is that the “Submailboxes” feature itself can only handle 1 level (well 2 if you count the separation into different accounts (like default Sent Messages) mailbox. This is not going to improve without a complete rewrite of the related code. When/if that happens I've noted that it would be nice if multiple levels also works.</p>
<p dir="auto">--<br>
Benny</p>
</div>
</div>
</body>
</html>