summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorJefferson Stachelski <jstachel@thoughtworks.com>2015-05-08 00:17:45 -0300
committerJefferson Stachelski <jstachel@thoughtworks.com>2015-05-08 00:17:45 -0300
commit27d3f70d37945c0a41cb5db8c565ef4302bf135f (patch)
tree527a71c47991abf0edd9a08b2246f3a966ea6e6b /service
parentc1d9b3e5f3dd763854746e3d47b85028620add17 (diff)
#338 Added pre load emails on mailbox SENT
Diffstat (limited to 'service')
-rw-r--r--service/pixelated/maintenance.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/pixelated/maintenance.py b/service/pixelated/maintenance.py
index 4597d306..bfa78da8 100644
--- a/service/pixelated/maintenance.py
+++ b/service/pixelated/maintenance.py
@@ -174,6 +174,7 @@ def load_mails(args, mail_paths):
maildir = Maildir(path, factory=None)
add_mail_folder(account, maildir, 'INBOX', deferreds)
add_mail_folder(account, maildir, 'DRAFTS', deferreds)
+ add_mail_folder(account, maildir, 'SENT', deferreds)
for mail_folder_name in maildir.list_folders():
mail_folder = maildir.get_folder(mail_folder_name)
add_mail_folder(account, mail_folder, mail_folder_name, deferreds)