<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Hi Benny,</p>
<p dir="auto">On 6 Jan 2017, at 13:01, Benny Kjær Nielsen wrote (with possible deletions):</p>
<p dir="auto"></p></div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">On 5 Jan 2017, at 13:24, Torsten Grust wrote:<br>
</p>
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999"><p dir="auto">Gmail groups e-mail into categories like Social, Promotions, etc.<br>
<br>
Is it possible to build smart mailboxes based on this categorization? I am afraid that these Gmail categories are not available in MailMate's condition system [maybe Gmail doesn't expose this information at all] but I would be happy to be proven wrong.</p>
</blockquote><p dir="auto">Categories are not exposed on IMAP. Quickly googling I found this potential [workaround](<a href="https://dylanconlin.svbtle.com/exposing-gmails-categories-to-imap" style="color:#777">https://dylanconlin.svbtle.com/exposing-gmails-categories-to-imap</a>). Let me know if you can get something like that to work.</p>
</blockquote></div>
<div style="white-space:normal">
<p dir="auto">that links nails it on the head. Thanks, Benny!</p>
<p dir="auto">I've got Gmail categories accessible as MailMate tags now (by using the above to turn categories into Gmail labels first). Knowing that you can create a Gmail filter of the form "<em>has the words</em> <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">category:...</code>" was the crucial missing bit.</p>
<p dir="auto">Cheers,<br>
—Torsten</p>
<p dir="auto">-- <br>
| Torsten "Teggy" Grust<br>
| <a href="mailto:Torsten.Grust@gmail.com" style="color:#3983C4">Torsten.Grust@gmail.com</a></p>
</div>
</div>
</body>
</html>