summaryrefslogtreecommitdiff
path: root/service/app/adapter
diff options
context:
space:
mode:
authorBruno Wagner Goncalves <bwagner@thoughtworks.com>2014-08-13 14:24:57 -0300
committerBruno Wagner Goncalves <bwagner@thoughtworks.com>2014-08-13 14:24:57 -0300
commit39b6faf7b1ce4a20cc43bdd4951997f8760f45b7 (patch)
tree115d9bd5ff14a42ba63a9c91bf6362ff75974d8d /service/app/adapter
parent9779abfb1b1d0513e5efbc2737395bba0e8b6235 (diff)
Basic pixelated mail class initialized with imap mail
Diffstat (limited to 'service/app/adapter')
-rw-r--r--service/app/adapter/mail_converter.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/service/app/adapter/mail_converter.py b/service/app/adapter/mail_converter.py
index cf793a7a..28b83d6d 100644
--- a/service/app/adapter/mail_converter.py
+++ b/service/app/adapter/mail_converter.py
@@ -1,6 +1,14 @@
import dateutil.parser as dateparser
+
class MailConverter:
+ LEAP_FLAGS = ['\\Seen',
+ '\\Answered',
+ '\\Flagged',
+ '\\Deleted',
+ '\\Draft',
+ '\\Recent',
+ 'List']
def __init__(self, mail_service):
pass