Diffusion GpgOL b9dea48de425

Add junk/spam mail folder detection

Authored by aheinecke on Nov 5 2018, 4:44 PM.

Description

Add junk/spam mail folder detection

* src/oomhelp.cpp, src/oomhelp.h (is_junk_mail): New.

We can't access attachments in junk so we need some special
handling. As there is no "Junk" property we do this by
comparing the entryid of the accounts junk folder with
the actual folder of the mail.

Details