use special flags (keywords) instead of FLAGGED for mail states

This commit is contained in:
Mathieu Agopian
2013-03-20 13:22:33 +01:00
parent 4031fa6c9b
commit f00da6493b
4 changed files with 46 additions and 11 deletions

View File

@@ -147,6 +147,12 @@ If each provided rule (either as a class parameter or using the register)
matches the mail's subject, from, to, cc and body, the callback will be
triggered.
Mails are flagged according to their state, in the ``process_messages`` method:
* ``UNPROCESSED``: MailBot hasn't started looking at this mail
* ``PROCESSING``: MailBot is checking callbacks, and triggering them if needed
* ``PROCESSED``: MailBot is done with this mail, and won't process it anymore
Specifying rules
----------------