email_keyword_matcher/__init__.py
def _get_payload(self, message: email.message.EmailMessage) -> str:
        """
        Get the body of the email.

        Note: MODIFIES message fetched to be seen.
        """
        if message.is_multipart():
            return message.get_payload(0).get_payload()
        else:
            return message.get_payload(0)

        Get the body of the email.

        Note: MODIFIES message fetched to be seen.
        
Get the body of the email.
Note: MODIFIES message fetched to be seen.
Get the body of the email . Note : MODIFIES message fetched to be seen .
def _get_payload(self, message: email.message.EmailMessage) -> str:
        if message.is_multipart():
            return message.get_payload(0).get_payload()
        else:
            return message.get_payload(0)
def _get_payload ( self , message : email . message . EmailMessage ) -> str : if message . is_multipart ( ) : return message . get_payload ( 0 ) . get_payload ( ) else : return message . get_payload ( 0 )
Get the body of the email.
Get the body of the email .
"""
        Get the body of the email.

        Note: MODIFIES message fetched to be seen.
        """
self
message
email.message.EmailMessage