title: Reading customized tags/flags in outlook using ExchangeLib in Python 3.7
body: <p>I am reading the mails in outlook which contains customized tags/flags. Among which one is tag &quot;Approved&quot;. I am trying to access the mail from particular sender whose tag is &quot;Approved&quot; using ExchangeLib Library in python.</p>
  <p>I tried with multiple methods available in ExchangeLib library but no luck. I just wanted to print out this tag &quot;Approved&quot; in console. I tried with below methods:</p>
  <pre><code>ID_ELEMENT_CLS account add_field attach attachments body categories conversation_id culture datetime_created datetime_received datetime_sent deregister detach display_cc display_to effective_rights folder has_attachments headers importance in_reply_to is_associated is_draft is_from_me is_resend is_submitted is_unmodified item_class last_modified_name last_modified_time mime_content parent_folder_id register reminder_due_by reminder_is_set reminder_minutes_before_start remove_field response_objects sensitivity size subject supported_fields text_body unique_body validate_field web_client_edit_form_query_string web_client_read_form_query_string
  </code></pre>
  <p>Python - 3.7 Exchangelib - 3.3.2</p>
  <p><a href="https://i.stack.imgur.com/PUn8x.png" rel="nofollow noreferrer">Image &quot;Customized_Tags&quot; contains &quot;Approved&quot; Tag</a></p>
  <p>refer below Snap of code:</p>
  <pre class="lang-py prettyprint-override"><code>from exchangelib import Credentials, Account
  
  credentials = Credentials('john@example.com', 'topsecret')
  account = Account('john@example.com', credentials=credentials, autodiscover=True)
  for item in account.inbox.all().order_by('-datetime_received')[:100]:
      #below is my requirement
      if item.tag == &quot;Approved&quot;:
          print(item.tag, item.sender)
      else:
           pass
  </code></pre>