class Message(Python3StringMixIn):
- """Represents a single Email message
+ r"""Represents a single Email message
Technically, this wraps the underlying *notmuch_message_t*
structure. A user will usually not create these objects themselves
if status != 0:
raise NotmuchError(status)
+ if value is None or value.value is None:
+ return None
return value.value.decode('utf-8')
def get_properties(self, prop="", exact=False):