class MailConverter: def __init__(self, mail_service): pass def from_mail(self, imap_mail): return inbox_mail def to_mail(self, pixelated_mail, account): raise NotImplementedError() def from_tag(self, imap_tag): raise NotImplementedError() def from_contact(self, imap_contact): raise NotImplementedError()