class_docstr: This class simplifies working with mails returned by the imaplib client.
  
  :param mail_body: The mail body of a mail received from imaplib client.
code: def _iterate_attachments(self) -> Iterable[MailPart]:
      for part in self.mail.walk():
          mail_part = MailPart(part)
          if mail_part.is_attachment():
              yield mail_part
  
imports: from __future__ import annotations
  import email
  import imaplib
  import os
  import re
  import ssl
  from typing import TYPE_CHECKING, Any, Iterable
  from airflow.exceptions import AirflowException
  from airflow.hooks.base import BaseHook
  from airflow.utils.log.logging_mixin import LoggingMixin
label_desc: Use image node_id 4 for calling the Mail obj's underlying member method code with example usage: obj._iterate_attachments() without return types