summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/pixelated/adapter/services/mail_service.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/service/pixelated/adapter/services/mail_service.py b/service/pixelated/adapter/services/mail_service.py
index 722b9a29..f4f37d77 100644
--- a/service/pixelated/adapter/services/mail_service.py
+++ b/service/pixelated/adapter/services/mail_service.py
@@ -47,24 +47,12 @@ class MailService:
self.mailboxes.drafts().remove(last_draft_ident)
return self.mailboxes.sent().add(mail)
- def thread(self, thread_id):
- raise NotImplementedError()
-
def mark_as_read(self, mail_id):
return self.mail(mail_id).mark_as_read()
def mark_as_unread(self, mail_id):
return self.mail(mail_id).mark_as_unread()
- def tags_for_thread(self, thread):
- raise NotImplementedError()
-
- def add_tag_to_thread(self, thread_id, tag):
- raise NotImplementedError()
-
- def remove_tag_from_thread(self, thread_id, tag):
- raise NotImplementedError()
-
def delete_mail(self, mail_id):
return self.mailboxes.move_to_trash(mail_id)
@@ -72,18 +60,6 @@ class MailService:
mail = self.mail(mail_id)
self.querier.remove_mail(mail)
- def save_draft(self, draft):
- raise NotImplementedError()
-
- def draft_reply_for(self, mail_id):
- raise NotImplementedError()
-
- def all_contacts(self, query):
- raise NotImplementedError()
-
- def drafts(self):
- raise NotImplementedError()
-
def reply_all_template(self, mail_id):
mail = self.mail(mail_id)
return mail.to_reply_template()