docs: def scan_message(self, message, regex):
          """Scans regex from msg and returns the line that matches
  
          Keyword arguments:
          message -- A (long) string, e.g. email body that will be
          scanned.
  
          regex -- A regular expression string that the message will be
          scanned against.
  
          Returns:
          Matching line or empty string
          """
          for line in message.split("\n"):
              if bool(re.search(
                      regex,
                      line,
                      flags=re.IGNORECASE|re.MULTILINE)):
                  return line
          return ""